An Attribute holds scalar metadata describing a View.
More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/feature-whitlock-mir_update/src/axom/sidre/core/Attribute.hpp>
An Attribute holds scalar metadata describing a View.
◆ getName()
const std::string& axom::sidre::Attribute::getName |
( |
| ) |
const |
|
inline |
Return const reference to name of Attribute object.
◆ getIndex()
IndexType axom::sidre::Attribute::getIndex |
( |
| ) |
const |
|
inline |
Return the unique index of this Attribute object.
◆ setDefaultScalar()
template<typename ScalarType >
bool axom::sidre::Attribute::setDefaultScalar |
( |
ScalarType |
value | ) |
|
|
inline |
Set default value of Attribute. Return true if successfully changed.
The type of the default cannot be changed after the attribute is created.
References SLIC_CHECK_MSG.
◆ setDefaultString()
bool axom::sidre::Attribute::setDefaultString |
( |
const std::string & |
value | ) |
|
|
inline |
◆ setDefaultNodeRef()
bool axom::sidre::Attribute::setDefaultNodeRef |
( |
Node & |
node | ) |
|
|
inline |
◆ getDefaultNodeRef()
const Node& axom::sidre::Attribute::getDefaultNodeRef |
( |
| ) |
const |
|
inline |
◆ getTypeID()
TypeID axom::sidre::Attribute::getTypeID |
( |
| ) |
const |
|
inline |
◆ DataStore
Friend declarations to constrain usage via controlled access to private members.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/feature-whitlock-mir_update/src/axom/sidre/core/Attribute.hpp