TwiceAsNice  2019-02-18
Public Member Functions | Static Public Attributes | List of all members
Nice::PropertyFooImpl< T > Struct Template Reference

#include <Foo.h>

Inheritance diagram for Nice::PropertyFooImpl< T >:
Inheritance graph
Collaboration diagram for Nice::PropertyFooImpl< T >:
Collaboration graph

Public Member Functions

 PropertyFooImpl ()
 Default constructor. More...
 
 PropertyFooImpl (const T &_o)
 Overloaded constructor of PropertyFooImpl() More...
 
virtual std::string toString () const
 Implementation of PropertyFoo::toString() More...
 
virtual void fromString (const std::string &_v)
 Implementation of #PropertyFoo::fromString() More...
 
virtual std::string type ()
 Implementation of #PropertyFoo::type() More...
 
virtual PropertyFooImplclone ()
 Implementation of #PropertyFoo::clone() More...
 
 PropertyFooImpl ()
 Default constructor. More...
 
 PropertyFooImpl (const T &_o)
 Overloaded constructor of PropertyFooImpl() More...
 
virtual std::string toString () const
 Implementation of PropertyFoo::toString() More...
 
virtual void fromString (const std::string &_v)
 Implementation of #PropertyFoo::fromString() More...
 
virtual std::string type ()
 Implementation of #PropertyFoo::type() More...
 
virtual PropertyFooImplclone ()
 Implementation of #PropertyFoo::clone() More...
 
- Public Member Functions inherited from Nice::PropertyFoo
virtual ~PropertyFoo ()
 Virtual Destructor. More...
 
virtual std::string toUnquotedString ()
 Abstract function for requesting the stringified value of m_o. More...
 
virtual Nice::Any any ()
 Abstract function for requesting the Nice::Any. More...
 
template<typename T >
cast ()
 Cast m_o to a type T. More...
 
template<typename T >
T & ref ()
 Cast m_o to a type T. More...
 
void set (const std::string &_v)
 Methode to set the value of this property. More...
 
template<typename T >
void set (const T &_v)
 Methode to set the value of this property. More...
 
template<typename T >
bool isType ()
 Checks if is of type T. More...
 
virtual ~PropertyFoo ()
 Virtual Destructor. More...
 
virtual std::string toUnquotedString ()
 Abstract function for requesting the stringified value of m_o. More...
 
virtual Nice::Any any ()
 Abstract function for requesting the Nice::Any. More...
 
template<typename T >
cast ()
 Cast m_o to a type T. More...
 
template<typename T >
T & ref ()
 Cast m_o to a type T. More...
 
void set (const std::string &_v)
 Methode to set the value of this property. More...
 
template<typename T >
void set (const T &_v)
 Methode to set the value of this property. More...
 
template<typename T >
bool isType ()
 Checks if is of type T. More...
 
template<>
void set (const Nice::Any &_v)
 

Static Public Attributes

static std::string s_s
 Methode to set the value of this property. More...
 

Additional Inherited Members

- Public Attributes inherited from Nice::PropertyFoo
Nice::Any m_o
 

Constructor & Destructor Documentation

◆ PropertyFooImpl() [1/4]

template<typename T >
Nice::PropertyFooImpl< T >::PropertyFooImpl ( )

Default constructor.

◆ PropertyFooImpl() [2/4]

template<typename T >
Nice::PropertyFooImpl< T >::PropertyFooImpl ( const T &  _o)

Overloaded constructor of PropertyFooImpl()

Parameters
_oValue to assign to m_o.

◆ PropertyFooImpl() [3/4]

template<typename T >
Nice::PropertyFooImpl< T >::PropertyFooImpl ( )

Default constructor.

◆ PropertyFooImpl() [4/4]

template<typename T >
Nice::PropertyFooImpl< T >::PropertyFooImpl ( const T &  _o)

Overloaded constructor of PropertyFooImpl()

Parameters
_oValue to assign to m_o.

Member Function Documentation

◆ clone() [1/2]

template<typename T >
Nice::PropertyFooImpl< T > * Nice::PropertyFooImpl< T >::clone ( )
virtual

Implementation of #PropertyFoo::clone()

Returns
Cloned PropertyFooImpl.

Implements Nice::PropertyFoo.

◆ clone() [2/2]

template<typename T >
virtual PropertyFooImpl* Nice::PropertyFooImpl< T >::clone ( )
virtual

Implementation of #PropertyFoo::clone()

Returns
Cloned PropertyFooImpl.

Implements Nice::PropertyFoo.

◆ fromString() [1/2]

template<typename T >
void Nice::PropertyFooImpl< T >::fromString ( const std::string &  _v)
virtual

Implementation of #PropertyFoo::fromString()

Parameters
_vStringified Property.

Implements Nice::PropertyFoo.

◆ fromString() [2/2]

template<typename T >
virtual void Nice::PropertyFooImpl< T >::fromString ( const std::string &  _v)
virtual

Implementation of #PropertyFoo::fromString()

Parameters
_vStringified Property.

Implements Nice::PropertyFoo.

◆ toString() [1/2]

template<typename T >
virtual std::string Nice::PropertyFooImpl< T >::toString ( ) const
virtual

Implementation of PropertyFoo::toString()

Returns
Stringified value of m_o.

Implements Nice::PropertyFoo.

◆ toString() [2/2]

template<typename T >
std::string Nice::PropertyFooImpl< T >::toString ( ) const
virtual

Implementation of PropertyFoo::toString()

Returns
Stringified value of m_o.

Implements Nice::PropertyFoo.

◆ type() [1/2]

template<typename T >
std::string Nice::PropertyFooImpl< T >::type ( )
virtual

Implementation of #PropertyFoo::type()

Returns
Stringified type.

Implements Nice::PropertyFoo.

◆ type() [2/2]

template<typename T >
virtual std::string Nice::PropertyFooImpl< T >::type ( )
virtual

Implementation of #PropertyFoo::type()

Returns
Stringified type.

Implements Nice::PropertyFoo.

Member Data Documentation

◆ s_s

template<typename T >
std::string Nice::PropertyFooImpl< T >::s_s
static

Methode to set the value of this property.

Stringified type of PropertyFoo::m_o.

Parameters
Anyto set.

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