#include <PropertyContainer.h>
Classes | |
struct | PropertySpec |
Public Member Functions | |
void | addProperty (const PropertyContainer *container, const char *PropName, Property *Prop, const char *PropertyGroup=0, PropertyType=Prop_None, const char *PropertyDocu=0) |
const PropertySpec * | findProperty (const PropertyContainer *container, const Property *prop) const |
const PropertySpec * | findProperty (const PropertyContainer *container, const char *PropName) const |
const char * | getDocumentation (const PropertyContainer *container, const Property *prop) const |
const char * | getDocumentation (const PropertyContainer *container, const char *name) const |
const char * | getGroup (const PropertyContainer *container, const Property *prop) const |
const char * | getGroup (const PropertyContainer *container, const char *name) const |
const char * | getName (const PropertyContainer *container, const Property *prop) const |
Property * | getPropertyByName (const PropertyContainer *container, const char *name) const |
void | getPropertyList (const PropertyContainer *container, std::vector< Property * > &List) const |
void | getPropertyMap (const PropertyContainer *container, std::map< std::string, Property * > &Map) const |
short | getType (const PropertyContainer *container, const char *name) const |
short | getType (const PropertyContainer *container, const Property *prop) const |
Public Attributes | |
const PropertyData * | parentPropertyData |
std::vector< PropertySpec > | propertyData |
Definition at line 50 of file PropertyContainer.h.
void PropertyData::addProperty | ( | const PropertyContainer * | container, | |
const char * | PropName, | |||
Property * | Prop, | |||
const char * | PropertyGroup = 0 , |
|||
PropertyType | Type = Prop_None , |
|||
const char * | PropertyDocu = 0 | |||
) |
Definition at line 263 of file PropertyContainer.cpp.
References App::PropertyData::PropertySpec::Docu, App::PropertyData::PropertySpec::Group, App::PropertyData::PropertySpec::Name, App::PropertyData::PropertySpec::Offset, propertyData, and App::PropertyData::PropertySpec::Type.
const PropertyData::PropertySpec * PropertyData::findProperty | ( | const PropertyContainer * | container, | |
const Property * | prop | |||
) | const |
Definition at line 294 of file PropertyContainer.cpp.
References KDL::diff(), findProperty(), Py::int, parentPropertyData, and propertyData.
const PropertyData::PropertySpec * PropertyData::findProperty | ( | const PropertyContainer * | container, | |
const char * | PropName | |||
) | const |
Definition at line 282 of file PropertyContainer.cpp.
References findProperty(), parentPropertyData, and propertyData.
Referenced by findProperty(), getDocumentation(), getGroup(), getName(), getPropertyByName(), and getType().
const char * PropertyData::getDocumentation | ( | const PropertyContainer * | container, | |
const Property * | prop | |||
) | const |
Definition at line 395 of file PropertyContainer.cpp.
References App::PropertyData::PropertySpec::Docu, and findProperty().
const char * PropertyData::getDocumentation | ( | const PropertyContainer * | container, | |
const char * | name | |||
) | const |
Definition at line 405 of file PropertyContainer.cpp.
References App::PropertyData::PropertySpec::Docu, and findProperty().
Referenced by App::PropertyContainer::getPropertyDocumentation().
const char * PropertyData::getGroup | ( | const PropertyContainer * | container, | |
const Property * | prop | |||
) | const |
Definition at line 362 of file PropertyContainer.cpp.
References findProperty(), and App::PropertyData::PropertySpec::Group.
const char * PropertyData::getGroup | ( | const PropertyContainer * | container, | |
const char * | name | |||
) | const |
Definition at line 385 of file PropertyContainer.cpp.
References findProperty(), and App::PropertyData::PropertySpec::Group.
Referenced by App::PropertyContainer::getPropertyGroup().
const char * PropertyData::getName | ( | const PropertyContainer * | container, | |
const Property * | prop | |||
) | const |
Definition at line 308 of file PropertyContainer.cpp.
References findProperty(), and App::PropertyData::PropertySpec::Name.
Referenced by App::PropertyContainer::getName().
Property * PropertyData::getPropertyByName | ( | const PropertyContainer * | container, | |
const char * | name | |||
) | const |
Definition at line 417 of file PropertyContainer.cpp.
References findProperty(), and App::PropertyData::PropertySpec::Offset.
Referenced by App::PropertyContainer::getPropertyByName().
void PropertyData::getPropertyList | ( | const PropertyContainer * | container, | |
std::vector< Property * > & | List | |||
) | const |
Definition at line 458 of file PropertyContainer.cpp.
References getPropertyList(), parentPropertyData, and propertyData.
Referenced by getPropertyList(), and App::PropertyContainer::getPropertyList().
void PropertyData::getPropertyMap | ( | const PropertyContainer * | container, | |
std::map< std::string, Property * > & | Map | |||
) | const |
Definition at line 440 of file PropertyContainer.cpp.
References getPropertyMap(), parentPropertyData, and propertyData.
Referenced by getPropertyMap(), and App::PropertyContainer::getPropertyMap().
short PropertyData::getType | ( | const PropertyContainer * | container, | |
const char * | name | |||
) | const |
Definition at line 352 of file PropertyContainer.cpp.
References findProperty(), and App::PropertyData::PropertySpec::Type.
short PropertyData::getType | ( | const PropertyContainer * | container, | |
const Property * | prop | |||
) | const |
Definition at line 329 of file PropertyContainer.cpp.
References findProperty(), and App::PropertyData::PropertySpec::Type.
Referenced by App::PropertyContainer::getPropertyType().
Definition at line 61 of file PropertyContainer.h.
Referenced by findProperty(), getPropertyList(), getPropertyMap(), and App::PropertyContainer::PropertyContainer().
std::vector<PropertySpec> App::PropertyData::propertyData |
Definition at line 60 of file PropertyContainer.h.
Referenced by addProperty(), findProperty(), getPropertyList(), and getPropertyMap().