#include <FieldList.h>
Public Types | |
using | iterator = std::vector< SField >::iterator |
using | const_iterator = std::vector< SField >::const_iterator |
Public Member Functions | |
FieldList (bool indexed) | |
FieldList (const FieldList &other)=delete | |
FieldList (FieldList &&other) noexcept=default | |
FieldList & | operator= (const FieldList &other)=delete |
FieldList & | operator= (FieldList &&other) noexcept=default |
void | clear () |
size_t | size () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
Field & | push_back (const String &fname, bool checkDuplicates) |
Field & | push_back (const SField &fld) |
SField | findField (const String &fname) const |
SField | fieldByName (const String &fname) const |
Field & | operator[] (int index) |
const Field & | operator[] (int index) const |
Field & | operator[] (const String &fname) |
const Field & | operator[] (const String &fname) const |
void | exportTo (const xdoc::SNode &node, bool compactMode, bool nullLargeData=false) const |
The list of CField objects.
Is used in CDataSource. Allows to access data fields by the field name or field index. Provides the streaming output, and export to XML.