Public Types | Public Member Functions | Protected Attributes

Onyx::Properties::ClassProperty Class Reference

Base class for Properties that belong to a PropertyHolder. More...

#include <ClassProperty.h>

Inheritance diagram for Onyx::Properties::ClassProperty:
Onyx::Properties::DefaultProperty Onyx::Properties::PropertyBase Onyx::Properties::ClassMemberProperty< T > Onyx::Properties::SimpleClassProperty

Public Types

typedef Poco::SharedPtr
< ClassProperty
Ptr
 Typedef for shared pointers.

Public Member Functions

 ClassProperty (const ClassProperty &other)
 Copy constructor.
 ClassProperty (PropertyHolder *holder, const std::string &propName, const std::string &groupName="", const Poco::DynamicAny &value=0, const bool &validateAll=true)
 Standard constructor, no more work is needed so all it does is call the base class constructor.
PropertyHoldergetOwner () const
 Get the owner of the Property.
virtual ~ClassProperty ()
 Destructor, does nothing.

Protected Attributes

PropertyHolderowner
 Pointer to the PropertyHolder that owns the Property.

Detailed Description

Base class for Properties that belong to a PropertyHolder.


Member Typedef Documentation

Typedef for shared pointers.

Reimplemented from Onyx::Properties::DefaultProperty.


Constructor & Destructor Documentation

Onyx::Properties::ClassProperty::ClassProperty ( const ClassProperty other  ) 

Copy constructor.

Parameters:
other Property to copy.
Onyx::Properties::ClassProperty::ClassProperty ( PropertyHolder holder,
const std::string &  propName,
const std::string &  groupName = "",
const Poco::DynamicAny &  value = 0,
const bool &  validateAll = true 
)

Standard constructor, no more work is needed so all it does is call the base class constructor.

Parameters:
holder The holder(owner) of the Property.
propName Name of the Property.
groupName Group name of the Property.
value Initial value of the Property.
validateAll Whether or not all validators should always be evaluated.
virtual Onyx::Properties::ClassProperty::~ClassProperty (  )  [virtual]

Destructor, does nothing.


Member Function Documentation

PropertyHolder* Onyx::Properties::ClassProperty::getOwner (  )  const

Get the owner of the Property.


Field Documentation

Pointer to the PropertyHolder that owns the Property.


The documentation for this class was generated from the following file: