OpenFOAM logo
Open Source CFD Toolkit

word Class Reference

Inheritance diagram for word:

Inheritance graph
[legend]
Collaboration diagram for word:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 word ()
 Construct null.
 word (const word &w)
 Construct as copy.
 word (const char *)
 Construct as copy of character array.
 word (const string &)
 Construct as copy of string.
 word (const std::string &)
 Construct as copy of std::string.
 word (Istream &is)
 Construct from Istream.
void operator= (const word &)
void operator= (const string &)
void operator= (const std::string &)
void operator= (const char *)

Static Public Member Functions

bool valid (char)
 Is this character valid for a word.

Static Public Attributes

int debug
 Debug switch.
const word null
 Null word.

Friends

word operator & (const word &, const word &)
Istreamoperator>> (Istream &, word &)
Ostreamoperator<< (Ostream &, const word &)

Constructor & Destructor Documentation

word  )  [inline]
 

Construct null.

Definition at line 65 of file wordI.H.

References string::stripInvalid().

Here is the call graph for this function:

word const word w  )  [inline]
 

Construct as copy.

Definition at line 59 of file wordI.H.

word const char *   )  [inline]
 

Construct as copy of character array.

Definition at line 87 of file wordI.H.

word const string  )  [inline]
 

Construct as copy of string.

Definition at line 71 of file wordI.H.

word const std::string &   )  [inline]
 

Construct as copy of std::string.

Definition at line 79 of file wordI.H.

word Istream is  ) 
 

Construct from Istream.


Member Function Documentation

void operator= const char *   )  [inline]
 

Definition at line 133 of file wordI.H.

void operator= const std::string &   )  [inline]
 

Definition at line 126 of file wordI.H.

References string::stripInvalid().

Here is the call graph for this function:

void operator= const string  )  [inline]
 

Definition at line 119 of file wordI.H.

References string::stripInvalid().

Here is the call graph for this function:

void operator= const word  )  [inline]
 

Definition at line 113 of file wordI.H.

References string::stripInvalid().

Here is the call graph for this function:

bool valid char   )  [inline, static]
 

Is this character valid for a word.

Definition at line 97 of file wordI.H.


Friends And Related Function Documentation

word operator & const word a,
const word b
[friend]
 

Definition at line 142 of file wordI.H.

Ostream& operator<< Ostream ,
const word
[friend]
 

Istream& operator>> Istream ,
word
[friend]
 


Member Data Documentation

int debug [static]
 

Debug switch.

Reimplemented from string.

Definition at line 74 of file word.H.

const word null [static]
 

Null word.

Reimplemented from string.

Definition at line 77 of file word.H.


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