Variable or global metadata.
More...
#include <DC.h>
|
| Attribute () |
|
| Attribute (string name, XType type, const std::vector< float > &values) |
|
| Attribute (string name, XType type, const std::vector< double > &values) |
|
| Attribute (string name, XType type, const std::vector< int > &values) |
|
| Attribute (string name, XType type, const std::vector< long > &values) |
|
| Attribute (string name, XType type, const string &values) |
|
| Attribute (string name, XType type) |
|
virtual | ~Attribute () |
|
string | GetName () const |
| Get attribute name. More...
|
|
XType | GetXType () const |
| Get an attribute's external representation type. More...
|
|
void | GetValues (std::vector< float > &values) const |
|
void | GetValues (std::vector< double > &values) const |
|
void | GetValues (std::vector< int > &values) const |
|
void | GetValues (std::vector< long > &values) const |
|
void | GetValues (string &values) const |
|
void | SetValues (const std::vector< float > &values) |
|
void | SetValues (const std::vector< double > &values) |
|
void | SetValues (const std::vector< int > &values) |
|
void | SetValues (const std::vector< long > &values) |
|
void | SetValues (const string &values) |
|
Variable or global metadata.
Definition at line 237 of file DC.h.
VAPoR::DC::Attribute::Attribute |
( |
| ) |
|
|
inline |
Definition at line 239 of file DC.h.
VAPoR::DC::Attribute::Attribute |
( |
string |
name, |
|
|
XType |
type, |
|
|
const std::vector< float > & |
values |
|
) |
| |
Attribute constructor
- Parameters
-
[in] | name | The name of the attribute |
[in] | type | External representation format |
[in] | values | A vector specifying the attribute's values |
VAPoR::DC::Attribute::Attribute |
( |
string |
name, |
|
|
XType |
type, |
|
|
const std::vector< double > & |
values |
|
) |
| |
VAPoR::DC::Attribute::Attribute |
( |
string |
name, |
|
|
XType |
type, |
|
|
const std::vector< int > & |
values |
|
) |
| |
VAPoR::DC::Attribute::Attribute |
( |
string |
name, |
|
|
XType |
type, |
|
|
const std::vector< long > & |
values |
|
) |
| |
VAPoR::DC::Attribute::Attribute |
( |
string |
name, |
|
|
XType |
type, |
|
|
const string & |
values |
|
) |
| |
VAPoR::DC::Attribute::Attribute |
( |
string |
name, |
|
|
XType |
type |
|
) |
| |
|
inline |
Definition at line 252 of file DC.h.
virtual VAPoR::DC::Attribute::~Attribute |
( |
| ) |
|
|
inlinevirtual |
Definition at line 255 of file DC.h.
string VAPoR::DC::Attribute::GetName |
( |
| ) |
const |
|
inline |
Get attribute name.
Definition at line 259 of file DC.h.
void VAPoR::DC::Attribute::GetValues |
( |
std::vector< float > & |
values | ) |
const |
Get an attribute's value(s)
Get the value(s) for an attribute, performing type conversion as necessary from the external storage type to the desired type
void VAPoR::DC::Attribute::GetValues |
( |
std::vector< double > & |
values | ) |
const |
void VAPoR::DC::Attribute::GetValues |
( |
std::vector< int > & |
values | ) |
const |
void VAPoR::DC::Attribute::GetValues |
( |
std::vector< long > & |
values | ) |
const |
void VAPoR::DC::Attribute::GetValues |
( |
string & |
values | ) |
const |
XType VAPoR::DC::Attribute::GetXType |
( |
| ) |
const |
|
inline |
Get an attribute's external representation type.
Definition at line 263 of file DC.h.
void VAPoR::DC::Attribute::SetValues |
( |
const std::vector< float > & |
values | ) |
|
Set an attribute's value(s)
Set the value(s) for an attribute, performing type conversion as necessary to meet the external storage type.
void VAPoR::DC::Attribute::SetValues |
( |
const std::vector< double > & |
values | ) |
|
void VAPoR::DC::Attribute::SetValues |
( |
const std::vector< int > & |
values | ) |
|
void VAPoR::DC::Attribute::SetValues |
( |
const std::vector< long > & |
values | ) |
|
void VAPoR::DC::Attribute::SetValues |
( |
const string & |
values | ) |
|
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const Attribute & |
attr |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file:
- /Users/clyne/src/vapor-3.0/include/vapor/DC.h