This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofAbstractParameter Class Referenceabstract
Base class for ofParameter, ofReadOnlyParameter and ofParameterGroup. More...
#include <ofParameter.h>
Inheritance diagram for ofAbstractParameter:

Public Member Functions | |
virtual | ~ofAbstractParameter () |
virtual std::string | getName () const =0 |
virtual void | setName (const std::string &name)=0 |
virtual std::string | toString () const =0 |
virtual void | fromString (const std::string &str)=0 |
virtual std::string | type () const |
virtual std::string | getEscapedName () const |
virtual std::string | valueType () const =0 |
virtual void | setParent (ofParameterGroup &_parent)=0 |
std::vector< std::string > | getGroupHierarchyNames () const |
template<typename ParameterType > | |
ofParameter< ParameterType > & | cast () |
template<typename ParameterType > | |
const ofParameter< ParameterType > & | cast () const |
template<typename ParameterType , typename Friend > | |
ofReadOnlyParameter< ParameterType, Friend > & | castReadOnly () |
template<typename ParameterType , typename Friend > | |
const ofReadOnlyParameter< ParameterType, Friend > & | castReadOnly () const |
ofParameterGroup & | castGroup () |
const ofParameterGroup & | castGroup () const |
virtual bool | isSerializable () const =0 |
virtual bool | isReadOnly () const =0 |
virtual std::shared_ptr< ofAbstractParameter > | newReference () const =0 |
virtual bool | isReferenceTo (const ofAbstractParameter &other) const |
Protected Member Functions | |
virtual const ofParameterGroup | getFirstParent () const =0 |
virtual void | setSerializable (bool serializable)=0 |
virtual std::string | escape (const std::string &str) const |
virtual const void * | getInternalObject () const =0 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const ofAbstractParameter &p) |
std::istream & | operator>> (std::istream &is, ofAbstractParameter &p) |
Detailed Description
Base class for ofParameter, ofReadOnlyParameter and ofParameterGroup.
Constructor & Destructor Documentation
◆ ~ofAbstractParameter()
|
inlinevirtual |
Member Function Documentation
◆ cast() [1/2]
template<typename ParameterType >
|
inline |
◆ cast() [2/2]
template<typename ParameterType >
|
inline |
◆ castGroup() [1/2]
ofParameterGroup & ofAbstractParameter::castGroup | ( | ) |
◆ castGroup() [2/2]
const ofParameterGroup & ofAbstractParameter::castGroup | ( | ) | const |
◆ castReadOnly() [1/2]
template<typename ParameterType , typename Friend >
|
inline |
◆ castReadOnly() [2/2]
template<typename ParameterType , typename Friend >
|
inline |
◆ escape()
|
protectedvirtual |
◆ fromString()
|
pure virtual |
◆ getEscapedName()
|
virtual |
Reimplemented in ofParameterGroup.
◆ getFirstParent()
|
protectedpure virtual |
◆ getGroupHierarchyNames()
std::vector< string > ofAbstractParameter::getGroupHierarchyNames | ( | ) | const |
◆ getInternalObject()
|
protectedpure virtual |
◆ getName()
|
pure virtual |
◆ isReadOnly()
|
pure virtual |
◆ isReferenceTo()
|
virtual |
◆ isSerializable()
|
pure virtual |
◆ newReference()
|
pure virtual |
◆ setName()
|
pure virtual |
◆ setParent()
|
pure virtual |
◆ setSerializable()
|
protectedpure virtual |
◆ toString()
|
pure virtual |
◆ type()
|
virtual |
◆ valueType()
|
pure virtual |
Friends And Related Symbol Documentation
◆ operator<<
|
friend |
◆ operator>>
|
friend |
The documentation for this class was generated from the following files:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/types/ofParameter.h
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/types/ofParameter.cpp