TwiceAsNice  2019-02-18
Public Member Functions | List of all members
Nice::PropertyActor Struct Referenceabstract

Struct is pure abstract. From this struct spezialised validators may be derived and added to a Property. Each time a value is set to a Property the process function is called. More...

#include "Nice/Property.h"

Inheritance diagram for Nice::PropertyActor:
Inheritance graph
Collaboration diagram for Nice::PropertyActor:
Collaboration graph

Public Member Functions

 PropertyActor ()
 Constructor. More...
 
virtual void init (const Nice::PropertyFooPtr &_foo, PropertyAttrMap &_attrs)=0
 Initializer, called by the Property when it is applied. More...
 
virtual PropertyActorclone ()=0
 Abstract function clones a PropertyActor instance. More...
 
virtual ~PropertyActor ()
 Destructor. More...
 
virtual std::string name () const =0
 return actor name. More...
 
virtual std::string toString () const =0
 Cast the PropertyActor to a string. More...
 
virtual Nice::CompletionState set (const Nice::Date &_date, const Nice::Any &a)=0
 Abstract function validates a value of a certain type. More...
 
 PropertyActor ()
 Constructor. More...
 
virtual void init (const Nice::PropertyFooPtr &_foo, PropertyAttrMap &_attrs)=0
 Initializer, called by the Property when it is applied. More...
 
virtual PropertyActorclone ()=0
 Abstract function clones a PropertyActor instance. More...
 
virtual ~PropertyActor ()
 Destructor. More...
 
virtual std::string name () const =0
 return actor name. More...
 
virtual std::string toString () const =0
 Cast the PropertyActor to a string. More...
 
virtual Nice::CompletionState set (const Nice::Date &_date, const Nice::Any &a)=0
 Abstract function validates a value of a certain type. More...
 

Detailed Description

Struct is pure abstract. From this struct spezialised validators may be derived and added to a Property. Each time a value is set to a Property the process function is called.

Author
Version
Date
2012-08-10 11:04:58 AM

Constructor & Destructor Documentation

◆ PropertyActor() [1/2]

Nice::PropertyActor::PropertyActor ( )
inline

Constructor.

Returns
Cloned instance.

◆ ~PropertyActor() [1/2]

virtual Nice::PropertyActor::~PropertyActor ( )
inlinevirtual

Destructor.

◆ PropertyActor() [2/2]

Nice::PropertyActor::PropertyActor ( )
inline

Constructor.

Returns
Cloned instance.

◆ ~PropertyActor() [2/2]

virtual Nice::PropertyActor::~PropertyActor ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ clone() [1/2]

virtual PropertyActor* Nice::PropertyActor::clone ( )
pure virtual

◆ clone() [2/2]

virtual PropertyActor* Nice::PropertyActor::clone ( )
pure virtual

◆ init() [1/2]

virtual void Nice::PropertyActor::init ( const Nice::PropertyFooPtr _foo,
PropertyAttrMap _attrs 
)
pure virtual

◆ init() [2/2]

virtual void Nice::PropertyActor::init ( const Nice::PropertyFooPtr _foo,
PropertyAttrMap _attrs 
)
pure virtual

◆ name() [1/2]

virtual std::string Nice::PropertyActor::name ( ) const
pure virtual

◆ name() [2/2]

virtual std::string Nice::PropertyActor::name ( ) const
pure virtual

◆ set() [1/2]

virtual Nice::CompletionState Nice::PropertyActor::set ( const Nice::Date _date,
const Nice::Any a 
)
pure virtual

◆ set() [2/2]

virtual Nice::CompletionState Nice::PropertyActor::set ( const Nice::Date _date,
const Nice::Any a 
)
pure virtual

◆ toString() [1/2]

virtual std::string Nice::PropertyActor::toString ( ) const
pure virtual

◆ toString() [2/2]

virtual std::string Nice::PropertyActor::toString ( ) const
pure virtual

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