SOFA API  b3f2f2a4
Open source framework for multi-physics simuation
sofa::core::objectmodel::BaseObjectDescription::Attribute Class Reference

#include <BaseObjectDescription.h>

Protected Attributes

std::string value
 
bool accessed
 

Public Member Functions

 Attribute ()
 
 Attribute (const std::string &v)
 
void operator= (const std::string &v)
 
void operator= (const char *v)
 
 operator std::string () const
 
const charc_str () const
 
bool isAccessed () const
 
void setAccessed (bool v)
 

Attribute details

◆ accessed

bool sofa::core::objectmodel::BaseObjectDescription::Attribute::accessed
mutableprotected

◆ value

std::string sofa::core::objectmodel::BaseObjectDescription::Attribute::value
protected

Constructor details

◆ Attribute() [1/2]

sofa::core::objectmodel::BaseObjectDescription::Attribute::Attribute ( )
inline

◆ Attribute() [2/2]

sofa::core::objectmodel::BaseObjectDescription::Attribute::Attribute ( const std::string &  v)
inline

Function details

◆ c_str()

const char* sofa::core::objectmodel::BaseObjectDescription::Attribute::c_str ( ) const
inline

◆ isAccessed()

bool sofa::core::objectmodel::BaseObjectDescription::Attribute::isAccessed ( ) const
inline

◆ operator std::string()

sofa::core::objectmodel::BaseObjectDescription::Attribute::operator std::string ( ) const
inline

◆ operator=() [1/2]

void sofa::core::objectmodel::BaseObjectDescription::Attribute::operator= ( const char v)
inline

◆ operator=() [2/2]

void sofa::core::objectmodel::BaseObjectDescription::Attribute::operator= ( const std::string &  v)
inline

◆ setAccessed()

void sofa::core::objectmodel::BaseObjectDescription::Attribute::setAccessed ( bool  v)
inline