Public Member Functions | |
CustomAddObjectEvent (App::DocumentObject **o, App::Document *d, const std::string &type, const std::string &name) | |
void | execute () |
~CustomAddObjectEvent () | |
Protected Attributes | |
App::Document * | doc |
std::string | name |
App::DocumentObject ** | obj |
std::string | type |
Definition at line 66 of file DocumentProtector.cpp.
Sandbox::CustomAddObjectEvent::CustomAddObjectEvent | ( | App::DocumentObject ** | o, | |
App::Document * | d, | |||
const std::string & | type, | |||
const std::string & | name | |||
) | [inline] |
Definition at line 69 of file DocumentProtector.cpp.
Sandbox::CustomAddObjectEvent::~CustomAddObjectEvent | ( | ) | [inline] |
Definition at line 73 of file DocumentProtector.cpp.
void Sandbox::CustomAddObjectEvent::execute | ( | void | ) | [inline, virtual] |
Implements Sandbox::AbstractCustomProtectorEvent.
Definition at line 76 of file DocumentProtector.cpp.
References App::Document::addObject(), doc, name, obj, and type.
App::Document* Sandbox::CustomAddObjectEvent::doc [protected] |
Definition at line 83 of file DocumentProtector.cpp.
Referenced by execute().
std::string Sandbox::CustomAddObjectEvent::name [protected] |
Definition at line 84 of file DocumentProtector.cpp.
Referenced by execute().
App::DocumentObject** Sandbox::CustomAddObjectEvent::obj [protected] |
Definition at line 82 of file DocumentProtector.cpp.
Referenced by execute().
std::string Sandbox::CustomAddObjectEvent::type [protected] |
Definition at line 84 of file DocumentProtector.cpp.
Referenced by execute().