Template Class XCDFField#

Inheritance Relationships#

Base Type#

Class Documentation#

template<typename T>
class XCDFField : public ConstXCDFField<T>#

Wrapper class representing an XCDF data field. Data is stored in an instance of XCDFFieldData.

Author

Jim Braun

Public Types

typedef XCDFFieldData<T> XCDFFieldDataType#

Public Functions

inline XCDFField(XCDFFieldDataType *fieldData)#
inline XCDFField()#

Allow default construction, but use of the default-constructed object is not allowed

inline void Add(const T value)#

Add a datum to the field.

Parameters

value – Input value

inline void Add(const std::vector<T> value)#

Add an array of values to the field.

Parameters

value – Input array of values

inline XCDFField<T> &operator<<(const T value)#