OpenFOAM logo
Open Source CFD Toolkit

primitiveEntry Class Reference

Inheritance diagram for primitiveEntry:

Inheritance graph
[legend]
Collaboration diagram for primitiveEntry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 primitiveEntry (const word &keyword, Istream &)
 Construct from keyword and a Istream.
 primitiveEntry (const word &keyword, const ITstream &)
 Construct from keyword and a ITstream.
 primitiveEntry (const word &, const token &)
 Construct from keyword and a token.
 primitiveEntry (const word &, const tokenList &)
 Construct from keyword and a tokenList.
template<class T>
 primitiveEntry (const word &, const T &)
 Construct from keyword and a T.
autoPtr< entryclone () const
const fileNamename () const
 Return the dictionary name.
fileNamename ()
 Return the dictionary name.
label startLineNumber () const
 Return line number of first token in dictionary.
label endLineNumber () const
 Return line number of last token in dictionary.
bool isStream () const
 Return true because this entry is a stream.
ITstreamstream () const
 Return token stream if this entry is a primitive entry.
const dictionarydict () const
 Return token stream if this entry is a primitive entry.
void write (Ostream &) const
 Write.
InfoProxy< primitiveEntryinfo () const
 Return info proxy.

Constructor & Destructor Documentation

primitiveEntry const word keyword,
Istream
 

Construct from keyword and a Istream.

primitiveEntry const word keyword,
const ITstream
 

Construct from keyword and a ITstream.

primitiveEntry const word ,
const token
 

Construct from keyword and a token.

primitiveEntry const word ,
const tokenList
 

Construct from keyword and a tokenList.

primitiveEntry const word ,
const T & 
 

Construct from keyword and a T.


Member Function Documentation

autoPtr<entry> clone  )  const [inline, virtual]
 

Implements entry.

Definition at line 100 of file primitiveEntry.H.

References Foam::name().

Here is the call graph for this function:

const dictionary& dict  )  const [virtual]
 

Return token stream if this entry is a primitive entry.

Implements entry.

label endLineNumber  )  const [virtual]
 

Return line number of last token in dictionary.

Implements entry.

InfoProxy<primitiveEntry> info  )  const [inline]
 

Return info proxy.

Used to print token information to a stream

Reimplemented from IOstream.

Definition at line 145 of file primitiveEntry.H.

bool isStream  )  const [inline, virtual]
 

Return true because this entry is a stream.

Reimplemented from entry.

Definition at line 127 of file primitiveEntry.H.

fileName& name  )  [inline, virtual]
 

Return the dictionary name.

Implements entry.

Definition at line 115 of file primitiveEntry.H.

References Foam::label.

const fileName& name  )  const [inline, virtual]
 

Return the dictionary name.

Implements entry.

Definition at line 109 of file primitiveEntry.H.

References Foam::name().

Here is the call graph for this function:

label startLineNumber  )  const [virtual]
 

Return line number of first token in dictionary.

Implements entry.

ITstream& stream  )  const [virtual]
 

Return token stream if this entry is a primitive entry.

Implements entry.

void write Ostream  )  const [virtual]
 

Write.

Implements entry.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org