FreeCAD C++
|
#include <App/PropertyGeo.h>
Vector properties This is the father of all properties handling Integers.
Public Member Functions | |
PropertyVector () | |
virtual | ~PropertyVector () |
void | setValue (const Base::Vector3d &vec) |
void | getPaths (std::vector< ObjectIdentifier > &paths) const |
Get valid paths for this property; used by auto completer. | |
const Base::Vector3d & | getValue (void) const |
![]() | |
const char * | getName (void) const |
get the name of this property in the belonging container | |
short | getType (void) const |
Get the type of the property in the container. | |
const char * | getGroup (void) const |
Get the group of this property. | |
const char * | getDocumentation (void) const |
Get the documentation of this property. | |
void | setContainer (PropertyContainer *Father) |
Is called by the framework to set the father (container) | |
PropertyContainer * | getContainer (void) const |
Get a pointer to the PropertyContainer derived class the property belongs to. | |
virtual void | setPathValue (const App::ObjectIdentifier &path, const boost::any &value) |
Set value of property. | |
virtual const boost::any | getPathValue (const App::ObjectIdentifier &path) const |
Get value of property. | |
virtual const App::ObjectIdentifier | canonicalPath (const App::ObjectIdentifier &p) const |
Convert p to a canonical representation of it. | |
void | touch () |
Set the property touched. More... | |
bool | isTouched (void) const |
Test if this property is touched. | |
void | purgeTouched (void) |
Reset this property touched. | |
unsigned long | getStatus () const |
return the status bits | |
void | setReadOnly (bool readOnly) |
Sets property editable/grayed out in property editor. | |
void | setSinglePrecision (bool single) |
bool | isSinglePrecision () const |
Gets precision of properties using floating point numbers. | |
![]() | |
virtual void | SaveDocFile (Writer &) const |
virtual void | RestoreDocFile (Reader &) |
![]() | |
BaseClass () | |
Construction. | |
virtual | ~BaseClass () |
Destruction. | |
Additional Inherited Members | |
![]() | |
static std::string | encodeAttribute (const std::string &) |
Encodes an attribute upon saving. | |
![]() | |
void | hasSetValue (void) |
Gets called by all setValue() methods after the value has changed. | |
void | aboutToSetValue (void) |
Gets called by all setValue() methods before the value has changed. | |
virtual void | verifyPath (const App::ObjectIdentifier &p) const |
Verify a path for the current property. | |
![]() | |
std::bitset< 32 > | StatusBits |
App::PropertyVector::PropertyVector | ( | ) |
A constructor. A more elaborate description of the constructor.
|
virtual |
A destructor. A more elaborate description of the destructor.
const Base::Vector3d& App::PropertyVector::getValue | ( | void | ) | const |
This method returns a string representation of the property
void App::PropertyVector::setValue | ( | const Base::Vector3d & | vec | ) |
Sets the property