ProtoZed  awesome branch
A simple but powerful game framework
Public Member Functions | Protected Member Functions | Friends | List of all members
PZ::PropertyBase Class Referenceabstract
Inheritance diagram for PZ::PropertyBase:
PZ::NonCopyable PZ::Property< Angle::Degrees > PZ::Property< bool > PZ::Property< float > PZ::Property< std::string > PZ::Property< Vector2f > PZ::Property< T >

Public Member Functions

 PropertyBase (const std::string &name, PropertyList *list=nullptr)
 
virtual ~PropertyBase ()
 
const std::string & GetName () const
 
bool IsValid () const
 
bool IsInList () const
 
virtual std::string ToString () const =0
 
virtual void FromString (const std::string &str)=0
 

Protected Member Functions

void NotifyList ()
 
- Protected Member Functions inherited from PZ::NonCopyable
 NonCopyable ()
 

Friends

class PropertyList
 

Constructor & Destructor Documentation

PZ::PropertyBase::PropertyBase ( const std::string &  name,
PropertyList list = nullptr 
)
explicit
virtual PZ::PropertyBase::~PropertyBase ( )
virtual

Member Function Documentation

virtual void PZ::PropertyBase::FromString ( const std::string &  str)
pure virtual
const std::string& PZ::PropertyBase::GetName ( ) const
inline
bool PZ::PropertyBase::IsInList ( ) const
inline
bool PZ::PropertyBase::IsValid ( ) const
inline
void PZ::PropertyBase::NotifyList ( )
protected
virtual std::string PZ::PropertyBase::ToString ( ) const
pure virtual

Friends And Related Function Documentation

friend class PropertyList
friend

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