|
NexusCPP
3.5.0
|
#include <nxfile.h>


Public Member Functions | |
| NexusAttr (const std::string &strName) | |
| NexusAttr (const NexusAttr &aAttr) | |
| Copy c-tor. More... | |
| ~NexusAttr () | |
| void | SetLong (long lValue) |
| Sets a value of type 'long'. More... | |
| void | SetCString (const char *pcszValue) |
| void | SetString (const std::string &strValue) |
| void | SetDouble (double dValue) |
| void | SetFloat (float fValue) |
| long | GetLong () const |
| Get 'long' type value. More... | |
| double | GetDouble () const |
| Gets 'double' type value. More... | |
| float | GetFloat () const |
| Gets 'float' type value. More... | |
| std::string | GetString () const |
| Gets 'std::string' type value. More... | |
| void * | RawValue () const |
| Returns the attr buffer. More... | |
Public Member Functions inherited from nxcpp::NexusAttrInfo | |
| NexusAttrInfo () | |
| Constructor. More... | |
| ~NexusAttrInfo () | |
| Destructor. More... | |
| const char * | AttrName () const |
| Accessors. More... | |
| int | Len () const |
| Returns len of attribute. More... | |
| NexusDataType | DataType () const |
| Returns type attribute data. More... | |
Additional Inherited Members | |
Protected Attributes inherited from nxcpp::NexusAttrInfo | |
| char * | m_pszName |
| int | m_iLen |
| NexusDataType | m_eDataType |
| void * | m_pContext |
NeXus Attribute
This class is used to store info about founded attributes while browsing a group level
| nxcpp::NexusAttr::NexusAttr | ( | const std::string & | strName | ) |
c-tor
| strName | attribute name |
| nxcpp::NexusAttr::NexusAttr | ( | const NexusAttr & | aAttr | ) |
Copy c-tor.
| nxcpp::NexusAttr::~NexusAttr | ( | ) |
| double nxcpp::NexusAttr::GetDouble | ( | ) | const |
Gets 'double' type value.
| float nxcpp::NexusAttr::GetFloat | ( | ) | const |
Gets 'float' type value.
| long nxcpp::NexusAttr::GetLong | ( | ) | const |
Get 'long' type value.
| std::string nxcpp::NexusAttr::GetString | ( | ) | const |
Gets 'std::string' type value.
| void* nxcpp::NexusAttr::RawValue | ( | ) | const |
Returns the attr buffer.
| void nxcpp::NexusAttr::SetCString | ( | const char * | pcszValue | ) |
Sets a value of type
| pcszValue | C-style string attribute value |
| void nxcpp::NexusAttr::SetDouble | ( | double | dValue | ) |
Sets a value of type 'double'
| dValue | attribute value |
| void nxcpp::NexusAttr::SetFloat | ( | float | fValue | ) |
Sets a value of type 'float'
| fValue | attribute value |
| void nxcpp::NexusAttr::SetLong | ( | long | lValue | ) |
Sets a value of type 'long'.
| void nxcpp::NexusAttr::SetString | ( | const std::string & | strValue | ) |
Sets a value of type 'STL std::string'
| strValue | attribute value |
1.8.13