sptk2 logo
SPTK Home Page
Public Types | Public Member Functions | List of all members
sptk::FieldList Class Reference

#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
 
FieldListoperator= (const FieldList &other)=delete
 
FieldListoperator= (FieldList &&other) noexcept=default
 
void clear ()
 
size_t size () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
Fieldpush_back (const String &fname, bool checkDuplicates)
 
Fieldpush_back (const SField &fld)
 
SField findField (const String &fname) const
 
SField fieldByName (const String &fname) const
 
Fieldoperator[] (int index)
 
const Fieldoperator[] (int index) const
 
Fieldoperator[] (const String &fname)
 
const Fieldoperator[] (const String &fname) const
 
void exportTo (const xdoc::SNode &node, bool compactMode, bool nullLargeData=false) const
 

Detailed Description

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.


The documentation for this class was generated from the following file:

Fri Oct 14 2022 09:58:42: SPTK 5.4.1