32                                        std::string* defaultValue,
 
   35   : 
Property(name, datatype, id, parent),
 
   36     m_isRequired(isRequired),
 
   37     m_isAutoNumber(false),
 
   38     m_defaultValue(defaultValue)
 
   44     m_isRequired(rhs.m_isRequired),
 
   45     m_isAutoNumber(rhs.m_isAutoNumber),
 
   53   delete m_defaultValue;
 
   66     delete m_defaultValue;
 
   76   delete m_defaultValue;
 
An atomic property like an integer or double. 
 
bool has(Property *p) const 
It checks if the Property "p" is associated to this property or any other parent. ...
 
Property & operator=(const Property &rhs)
Assignment operator. 
 
bool m_isRequired
This flag indicates if the attribute is required or not. 
 
It models a property definition. 
 
void setDefaultValue(std::string *d)
It sets the default value associated to the property, or NULL if none is associated. 
 
virtual ~SimpleProperty()
Destructor. 
 
SimpleProperty & operator=(const SimpleProperty &rhs)
Assignment operator. 
 
std::string * m_defaultValue
Default value. 
 
virtual Property * clone() const 
It returns a clone of the object. 
 
An atomic property like an integer or double. 
 
SimpleProperty(const std::string &name, int datatype, bool isRequired=false, std::string *defaultValue=0, unsigned int id=0, Property *parent=0)
It constructs a new simple property. 
 
bool m_isAutoNumber
A flag that indicates if this is an autonumber or serial type.