[Doc] Improve documentation PropertyContainer
This commit is contained in:
committed by
Benjamin Nauck
parent
8956c56235
commit
519b78d775
@@ -46,10 +46,6 @@ using namespace std;
|
||||
TYPESYSTEM_SOURCE(App::PropertyContainer,Base::Persistence)
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// Construction/Destruction
|
||||
|
||||
// Here's the implementation! Description should take place in the header file!
|
||||
PropertyContainer::PropertyContainer()
|
||||
{
|
||||
propertyData.parentPropertyData = nullptr;
|
||||
@@ -68,7 +64,6 @@ unsigned int PropertyContainer::getMemSize () const
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
App::Property* PropertyContainer::addDynamicProperty(
|
||||
const char* type, const char* name, const char* group, const char* doc,
|
||||
short attr, bool ro, bool hidden)
|
||||
@@ -191,18 +186,6 @@ const PropertyData * PropertyContainer::getPropertyDataPtr(){return &propertyDat
|
||||
const PropertyData & PropertyContainer::getPropertyData() const{return propertyData;}
|
||||
|
||||
|
||||
/**
|
||||
* @brief PropertyContainer::handleChangedPropertyName is called during restore to possibly
|
||||
* fix reading of older versions of this property container. This method is typically called
|
||||
* if the property on file has changed its name in more recent versions.
|
||||
*
|
||||
* The default implementation does nothing.
|
||||
*
|
||||
* @param reader The XML stream to read from.
|
||||
* @param TypeName Name of property type on file.
|
||||
* @param PropName Name of property on file that does not exist in the container anymore.
|
||||
*/
|
||||
|
||||
void PropertyContainer::handleChangedPropertyName(Base::XMLReader &reader, const char * TypeName, const char *PropName)
|
||||
{
|
||||
(void)reader;
|
||||
@@ -210,18 +193,6 @@ void PropertyContainer::handleChangedPropertyName(Base::XMLReader &reader, const
|
||||
(void)PropName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief PropertyContainer::handleChangedPropertyType is called during restore to possibly
|
||||
* fix reading of older versions of the property container. This method is typically called
|
||||
* if the property on file has changed its type in more recent versions.
|
||||
*
|
||||
* The default implementation does nothing.
|
||||
*
|
||||
* @param reader The XML stream to read from.
|
||||
* @param TypeName Name of property type on file.
|
||||
* @param prop Pointer to property to restore. Its type differs from TypeName.
|
||||
*/
|
||||
|
||||
void PropertyContainer::handleChangedPropertyType(XMLReader &reader, const char *TypeName, Property *prop)
|
||||
{
|
||||
(void)reader;
|
||||
|
||||
Reference in New Issue
Block a user