ProtoZed  awesome branch
A simple but powerful game framework
Public Member Functions | List of all members
PZ::Property< T > Class Template Reference
Inheritance diagram for PZ::Property< T >:
PZ::PropertyBase PZ::NonCopyable

Public Member Functions

 Property (const std::string &name, PropertyList *list=nullptr)
 
 Property (const std::string &name, const T &value, PropertyList *list=nullptr)
 
 ~Property ()
 
const Propertyoperator= (const T &value)
 
 operator const T & () const
 
std::string ToString () const
 
void FromString (const std::string &str)
 
- Public Member Functions inherited from PZ::PropertyBase
 PropertyBase (const std::string &name, PropertyList *list=nullptr)
 
virtual ~PropertyBase ()
 
const std::string & GetName () const
 
bool IsValid () const
 
bool IsInList () const
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename T>
PZ::Property< T >::Property ( const std::string &  name,
PropertyList list = nullptr 
)
inlineexplicit
template<typename T>
PZ::Property< T >::Property ( const std::string &  name,
const T &  value,
PropertyList list = nullptr 
)
inline
template<typename T>
PZ::Property< T >::~Property ( )
inline

Member Function Documentation

template<typename T>
void PZ::Property< T >::FromString ( const std::string &  str)
inlinevirtual

Implements PZ::PropertyBase.

template<typename T>
PZ::Property< T >::operator const T & ( ) const
inline
template<typename T>
const Property& PZ::Property< T >::operator= ( const T &  value)
inline
template<typename T>
std::string PZ::Property< T >::ToString ( ) const
inlinevirtual

Implements PZ::PropertyBase.


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