Public Member Functions | Data Fields
sampledSets::fieldGroup< Type > Class Template Reference

Class used for grouping field types. More...

Inheritance diagram for sampledSets::fieldGroup< Type >:
Inheritance graph
[legend]
Collaboration diagram for sampledSets::fieldGroup< Type >:
Collaboration graph
[legend]

Public Member Functions

 fieldGroup ()
 Construct null. More...
 
 fieldGroup (const word &writeFormat)
 Construct for a particular format. More...
 
void clear ()
 Reset format and field list. More...
 
void operator= (const word &writeFormat)
 Assign a new formatter. More...
 
- Public Member Functions inherited from DynamicList< word >
 DynamicList ()
 Construct null. More...
 
 DynamicList (const label)
 Construct given size. More...
 
 DynamicList (const DynamicList< T, SizeInc, SizeMult, SizeDiv > &)
 Construct copy. More...
 
 DynamicList (const UList< T > &)
 Construct from UList. Size set to UList size. More...
 
 DynamicList (const UIndirectList< T > &)
 Construct from UIndirectList. Size set to UIndirectList size. More...
 
 DynamicList (const Xfer< List< T > > &)
 Construct by transferring the parameter contents. More...
 
 DynamicList (Istream &)
 Construct from Istream. Size set to size of list read. More...
 
label capacity () const
 Size of the underlying storage. More...
 
void setCapacity (const label)
 Alter the size of the underlying storage. More...
 
void setSize (const label)
 Alter the addressed list size. More...
 
void setSize (const label, const T &)
 Alter the addressed list size and fill new space with a. More...
 
void resize (const label)
 Alter the addressed list size. More...
 
void resize (const label, const T &)
 Alter the addressed list size and fill new space with a. More...
 
void reserve (const label)
 Reserve allocation space for at least this size. More...
 
void clear ()
 Clear the addressed list, i.e. set the size to zero. More...
 
void clearStorage ()
 Clear the list and delete storage. More...
 
DynamicList< T, SizeInc, SizeMult, SizeDiv > & shrink ()
 Shrink the allocated space to the number of elements used. More...
 
void transfer (List< T > &)
 Transfer contents of the argument List into this. More...
 
void transfer (DynamicList< T, SizeInc, SizeMult, SizeDiv > &)
 Transfer contents of the argument DynamicList into this. More...
 
Xfer< List< T > > xfer ()
 Transfer contents to the Xfer container as a plain List. More...
 
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append (const T &)
 Append an element at the end of the list. More...
 
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append (const UList< T > &)
 Append a List at the end of this list. More...
 
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append (const UIndirectList< T > &)
 Append a UIndirectList at the end of this list. More...
 
T remove ()
 Remove and return the top element. More...
 
Toperator() (const label)
 Return non-const access to an element, resizing list if. More...
 
void operator= (const T &)
 Assignment of all addressed entries to the given value. More...
 
void operator= (const DynamicList< T, SizeInc, SizeMult, SizeDiv > &)
 Assignment from DynamicList. More...
 
void operator= (const UList< T > &)
 Assignment from UList. More...
 
void operator= (const UIndirectList< T > &)
 Assignment from UIndirectList. More...
 

Data Fields

autoPtr< writer< Type > > formatter
 The set formatter. More...
 

Detailed Description

template<class Type>
class Foam::sampledSets::fieldGroup< Type >

Class used for grouping field types.

Definition at line 69 of file sampledSets.H.

Constructor & Destructor Documentation

◆ fieldGroup() [1/2]

fieldGroup ( )
inline

Construct null.

Definition at line 79 of file sampledSets.H.

◆ fieldGroup() [2/2]

fieldGroup ( const word writeFormat)
inline

Construct for a particular format.

Definition at line 86 of file sampledSets.H.

Member Function Documentation

◆ clear()

void clear ( )
inline

Reset format and field list.

Definition at line 93 of file sampledSets.H.

Referenced by sampledSets::clearFieldGroups().

Here is the caller graph for this function:

◆ operator=()

void operator= ( const word writeFormat)
inline

Assign a new formatter.

Definition at line 100 of file sampledSets.H.

Field Documentation

◆ formatter

autoPtr< writer<Type> > formatter

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