|
| TypeNameNoDebug ("Compound<T>") |
| Declare type-name, virtual type (without debug switch) More...
|
|
| Compound (const Compound< T > &)=delete |
| No copy construct. More...
|
|
Compound< T > & | operator= (const Compound< T > &)=delete |
| No copy assignment. More...
|
|
| Compound ()=default |
| Default construct. More...
|
|
| Compound (const T &content) |
| Copy construct from base content. More...
|
|
| Compound (T &&content) |
| Move construct from base content. More...
|
|
| Compound (Istream &is) |
| Read construct from Istream. More...
|
|
virtual label | size () const |
| The size of the underlying content. More...
|
|
virtual void | resize (const label n) |
| Change the size of the underlying container content. More...
|
|
virtual void | fill_zero () |
| Fill with zero value or with default value initialized. More...
|
|
virtual void | read (Istream &is) |
| Redirect read to underlying content. More...
|
|
virtual void | write (Ostream &os) const |
| Redirect write to underlying content. More...
|
|
virtual tokenType | typeCode () const |
| The token type (if any) corresponding to the contained component type (LABEL, FLOAT, DOUBLE, etc). More...
|
|
virtual direction | nComponents () const |
| The number of vector-space or other components of the underlying data content. More...
|
|
virtual const char * | cdata_bytes () const |
| Pointer to the underlying data as byte data. More...
|
|
virtual char * | data_bytes () |
| Pointer to the underlying data as byte data. More...
|
|
virtual std::streamsize | size_bytes () const |
| Size of the (contiguous) byte data. More...
|
|
| TypeNameNoDebug ("compound") |
| Declare type-name, virtual type (without debug switch) More...
|
|
| declareRunTimeSelectionTable (autoPtr, compound, empty,(),()) |
| Declare run-time constructor selection table. More...
|
|
constexpr | compound () noexcept |
| Default construct. More...
|
|
virtual | ~compound () noexcept=default |
| Destructor. More...
|
|
template<class Type > |
const Type * | isA () const |
| Check if dynamic_cast to Type is possible. More...
|
|
bool | moved () const noexcept |
| Get compound transferred status. More...
|
|
void | moved (bool b) noexcept |
| Set compound transferred status. More...
|
|
bool | pending () const noexcept |
| Get compound pending-read status. More...
|
|
void | pending (bool b) noexcept |
| Set compound pending-read status. More...
|
|
constexpr | refCount () noexcept |
| Default construct, initializing count to 0. More...
|
|
int | use_count () const noexcept |
| Return the current reference count. More...
|
|
bool | unique () const noexcept |
| Return true if the reference count is zero. More...
|
|
void | operator++ () noexcept |
| Increment the reference count. More...
|
|
void | operator++ (int) noexcept |
| Increment the reference count. More...
|
|
void | operator-- () noexcept |
| Decrement the reference count. More...
|
|
void | operator-- (int) noexcept |
| Decrement the reference count. More...
|
|
template<class T>
class Foam::token::Compound< T >
A templated class for holding compound tokens. The underlying container is normally a List of values, it must have a value_type
typedef as well as size(), resize(), cdata_bytes(), data_bytes(), size_bytes() methods.
Definition at line 359 of file token.H.