SOFA API  d36dcf8a
Open source framework for multi-physics simuation
sofa::core::objectmodel::RenamedData< T > Class Template Reference

#include <RenamedData.h>

Inheritance diagram for sofa::core::objectmodel::RenamedData< T >:

Public Member Functions

 RenamedData ()
 
void setOriginalData (Data< T > *data)
 
Data< T > * operator& ()
 
 operator Data< T > () const
 
 operator sofa::helper::ReadAccessor< Data< T >> () const
 
 operator sofa::helper::WriteAccessor< Data< T >> () const
 
 operator sofa::helper::WriteOnlyAccessor< Data< T >> () const
 
bool read (const std::string &value)
 
void printValue (std::ostream &os) const
 
std::string getValueString () const
 
std::string getDefaultValueString () const
 
std::string getValueTypeString () const
 
const sofa::defaulttype::AbstractTypeInfogetValueTypeInfo () const
 
const void * getValueVoidPtr () const
 
void * beginEditVoidPtr ()
 
void endEditVoidPtr ()
 
const std::string & getHelp () const
 
void setHelp (const std::string &val)
 
const std::string & getGroup () const
 
void setGroup (const std::string &val)
 
const std::string & getWidget () const
 
void setWidget (const char *val)
 
void setFlag (BaseData::DataFlagsEnum flag, bool b)
 
bool getFlag (BaseData::DataFlagsEnum flag) const
 
bool isDisplayed () const
 
bool isReadOnly () const
 
bool isPersistent () const
 
bool isAutoLink () const
 
bool isRequired () const
 
void setDisplayed (bool b)
 
void setReadOnly (bool b)
 
void setPersistent (bool b)
 
void setAutoLink (bool b)
 
void setRequired (bool b)
 
std::string getLinkPath () const
 
bool canBeLinked () const
 
BasegetOwner () const
 
void setOwner (Base *o)
 
BaseDatagetData () const
 
const std::string & getName () const
 
void setName (const std::string &name)
 
bool hasDefaultValue () const
 
bool isSet () const
 
void unset ()
 
void forceSet ()
 
int getCounter () const
 
bool setParent (BaseData *parent, const std::string &path=std::string())
 
bool setParent (const std::string &path)
 
bool validParent (const BaseData *parent)
 
BaseDatagetParent () const
 
void update ()
 
bool copyValueFrom (const BaseData *data)
 
bool updateValueFromLink (const BaseData *data)
 
T * beginEdit ()
 
T * beginWriteOnly ()
 
void endEdit ()
 
void setValue (const T &value)
 
const T & getValue () const
 
void operator= (const T &value)
 
bool copyValueFrom (const Data< T > *data)
 

Constructor details

◆ RenamedData()

template<class T = void*>
sofa::core::objectmodel::RenamedData< T >::RenamedData ( )
inline

Function details

◆ beginEdit()

template<class T = void*>
T* sofa::core::objectmodel::RenamedData< T >::beginEdit ( )
inline

◆ beginEditVoidPtr()

template<class T = void*>
void* sofa::core::objectmodel::RenamedData< T >::beginEditVoidPtr ( )
inline

◆ beginWriteOnly()

template<class T = void*>
T* sofa::core::objectmodel::RenamedData< T >::beginWriteOnly ( )
inline

◆ canBeLinked()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::canBeLinked ( ) const
inline

◆ copyValueFrom() [1/2]

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::copyValueFrom ( const BaseData data)
inline

◆ copyValueFrom() [2/2]

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::copyValueFrom ( const Data< T > *  data)
inline

◆ endEdit()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::endEdit ( )
inline

◆ endEditVoidPtr()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::endEditVoidPtr ( )
inline

◆ forceSet()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::forceSet ( )
inline

◆ getCounter()

template<class T = void*>
int sofa::core::objectmodel::RenamedData< T >::getCounter ( ) const
inline

◆ getData()

template<class T = void*>
BaseData* sofa::core::objectmodel::RenamedData< T >::getData ( ) const
inline

◆ getDefaultValueString()

template<class T = void*>
std::string sofa::core::objectmodel::RenamedData< T >::getDefaultValueString ( ) const
inline

◆ getFlag()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::getFlag ( BaseData::DataFlagsEnum  flag) const
inline

◆ getGroup()

template<class T = void*>
const std::string& sofa::core::objectmodel::RenamedData< T >::getGroup ( ) const
inline

◆ getHelp()

template<class T = void*>
const std::string& sofa::core::objectmodel::RenamedData< T >::getHelp ( ) const
inline

◆ getLinkPath()

template<class T = void*>
std::string sofa::core::objectmodel::RenamedData< T >::getLinkPath ( ) const
inline

◆ getName()

template<class T = void*>
const std::string& sofa::core::objectmodel::RenamedData< T >::getName ( ) const
inline

◆ getOwner()

template<class T = void*>
Base* sofa::core::objectmodel::RenamedData< T >::getOwner ( ) const
inline

◆ getParent()

template<class T = void*>
BaseData* sofa::core::objectmodel::RenamedData< T >::getParent ( ) const
inline

◆ getValue()

template<class T = void*>
const T& sofa::core::objectmodel::RenamedData< T >::getValue ( void  ) const
inline

◆ getValueString()

template<class T = void*>
std::string sofa::core::objectmodel::RenamedData< T >::getValueString ( ) const
inline

◆ getValueTypeInfo()

template<class T = void*>
const sofa::defaulttype::AbstractTypeInfo* sofa::core::objectmodel::RenamedData< T >::getValueTypeInfo ( ) const
inline

◆ getValueTypeString()

template<class T = void*>
std::string sofa::core::objectmodel::RenamedData< T >::getValueTypeString ( ) const
inline

◆ getValueVoidPtr()

template<class T = void*>
const void* sofa::core::objectmodel::RenamedData< T >::getValueVoidPtr ( ) const
inline

◆ getWidget()

template<class T = void*>
const std::string& sofa::core::objectmodel::RenamedData< T >::getWidget ( ) const
inline

◆ hasDefaultValue()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::hasDefaultValue ( ) const
inline

◆ isAutoLink()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::isAutoLink ( ) const
inline

◆ isDisplayed()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::isDisplayed ( ) const
inline

◆ isPersistent()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::isPersistent ( ) const
inline

◆ isReadOnly()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::isReadOnly ( ) const
inline

◆ isRequired()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::isRequired ( ) const
inline

◆ isSet()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::isSet ( ) const
inline

◆ operator Data< T >()

template<class T = void*>
sofa::core::objectmodel::RenamedData< T >::operator Data< T > ( ) const
inline

◆ operator sofa::helper::ReadAccessor< Data< T >>()

template<class T = void*>
sofa::core::objectmodel::RenamedData< T >::operator sofa::helper::ReadAccessor< Data< T >> ( ) const
inline

◆ operator sofa::helper::WriteAccessor< Data< T >>()

template<class T = void*>
sofa::core::objectmodel::RenamedData< T >::operator sofa::helper::WriteAccessor< Data< T >> ( ) const
inline

◆ operator sofa::helper::WriteOnlyAccessor< Data< T >>()

template<class T = void*>
sofa::core::objectmodel::RenamedData< T >::operator sofa::helper::WriteOnlyAccessor< Data< T >> ( ) const
inline

◆ operator&()

template<class T = void*>
Data<T>* sofa::core::objectmodel::RenamedData< T >::operator& ( )
inline

◆ operator=()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::operator= ( const T &  value)
inline

◆ printValue()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::printValue ( std::ostream &  os) const
inline

◆ read()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::read ( const std::string &  value)
inline

◆ setAutoLink()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setAutoLink ( bool  b)
inline

◆ setDisplayed()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setDisplayed ( bool  b)
inline

◆ setFlag()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setFlag ( BaseData::DataFlagsEnum  flag,
bool  b 
)
inline

◆ setGroup()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setGroup ( const std::string &  val)
inline

◆ setHelp()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setHelp ( const std::string &  val)
inline

◆ setName()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setName ( const std::string &  name)
inline

◆ setOriginalData()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setOriginalData ( Data< T > *  data)
inline

◆ setOwner()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setOwner ( Base o)
inline

◆ setParent() [1/2]

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::setParent ( BaseData parent,
const std::string &  path = std::string() 
)
inline

◆ setParent() [2/2]

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::setParent ( const std::string &  path)
inline

◆ setPersistent()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setPersistent ( bool  b)
inline

◆ setReadOnly()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setReadOnly ( bool  b)
inline

◆ setRequired()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setRequired ( bool  b)
inline

◆ setValue()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setValue ( const T &  value)
inline

◆ setWidget()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::setWidget ( const char val)
inline

◆ unset()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::unset ( )
inline

◆ update()

template<class T = void*>
void sofa::core::objectmodel::RenamedData< T >::update ( )
inline

◆ updateValueFromLink()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::updateValueFromLink ( const BaseData data)
inline

◆ validParent()

template<class T = void*>
bool sofa::core::objectmodel::RenamedData< T >::validParent ( const BaseData parent)
inline