OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

primitiveEntry Class Reference

Inheritance diagram for primitiveEntry:

Inheritance graph
[legend]
Collaboration diagram for primitiveEntry:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 70 of file primitiveEntry.H.


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< entry > clone () const
const fileName & name () const
 Return the dictionary name.
fileName & name ()
 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.
ITstream & stream () const
 Return token stream if this entry is a primitive entry.
const dictionary & dict () const
 Return token stream if this entry is a primitive entry.
void write (Ostream &) const
 Write.
InfoProxy< primitiveEntry > info () 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 name().

Here is the call graph for this function:

const fileName& name (  )  const [inline, virtual]

Return the dictionary name.

Implements entry.

Definition at line 109 of file primitiveEntry.H.

References name().

Here is the call graph for this function:

fileName& name (  )  [inline, virtual]

Return the dictionary name.

Implements entry.

Definition at line 115 of file primitiveEntry.H.

label startLineNumber (  )  const [virtual]

Return line number of first token in dictionary.

Implements entry.

label endLineNumber (  )  const [virtual]

Return line number of last token in dictionary.

Implements entry.

bool isStream (  )  const [inline, virtual]

Return true because this entry is a stream.

Reimplemented from entry.

Definition at line 127 of file primitiveEntry.H.

ITstream& stream (  )  const [virtual]

Return token stream if this entry is a primitive entry.

Implements entry.

const dictionary& dict (  )  const [virtual]

Return token stream if this entry is a primitive entry.

Implements entry.

void write ( Ostream &   )  const [virtual]

Write.

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.


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd