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

string2D Class Reference

Inheritance diagram for string2D:

Inheritance graph
[legend]
Collaboration diagram for string2D:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 65 of file string2D.H.


Public Member Functions

 string2D (const point2D &, const string &)
 Construct from components.
 string2D (const point2D &, const string &, const point2D &)
 string2D (Istream &)
 Construct from Istream.
virtual ~string2D ()
bool horizontal () const
scalar x () const
scalar y () const
const string & text () const
const point2D & startPt () const
virtual void draw (Gstream &) const
 Draw.
virtual void write (Ostream &) const
 Write.
void operator= (const string2D &)

Friends

Gstream & operator<< (Gstream &, const string2D &)
Ostream & operator<< (Ostream &, const string2D &)

Constructor & Destructor Documentation

string2D ( const point2D &  ,
const string &   
) [inline]

Construct from components.

Definition at line 48 of file string2DI.H.

string2D ( const point2D &  ,
const string &  ,
const point2D &   
) [inline]

Definition at line 57 of file string2DI.H.

string2D ( Istream &   ) 

Construct from Istream.

virtual ~string2D (  )  [virtual]


Member Function Documentation

bool horizontal (  )  const [inline]

Definition at line 68 of file string2DI.H.

References point2D::x().

Here is the call graph for this function:

scalar x (  )  const [inline]

Definition at line 73 of file string2DI.H.

References point2D::y().

Here is the call graph for this function:

scalar y (  )  const [inline]

Definition at line 78 of file string2DI.H.

const string & text (  )  const [inline]

Definition at line 83 of file string2DI.H.

const point2D & startPt (  )  const [inline]

Definition at line 88 of file string2DI.H.

References string2D::characters, string2D::direction, and string2D::start.

virtual void draw ( Gstream &   )  const [virtual]

Draw.

Implements shape2D.

virtual void write ( Ostream &   )  const [virtual]

Write.

Implements shape2D.

void operator= ( const string2D &   )  [inline]

Definition at line 96 of file string2DI.H.


Friends And Related Function Documentation

Gstream& operator<< ( Gstream &  gs,
const string2D &  s2D 
) [friend]

Definition at line 107 of file string2DI.H.

Ostream& operator<< ( Ostream &  ,
const string2D &   
) [friend]


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