asdm::Angle Class Reference

#include <Angle.h>

List of all members.


Detailed Description

The Angle class implements a quantity of angle in radians.

Version:
1.00 Jan. 7, 2005
Author:
Allen Farris
Version:
1.1 Aug 8, 2006
Author:
Michel Caillat added toBin/fromBin methods.


Public Member Functions

 Angle (const Angle &)
 Angle (const string &s)
 Angle (const IDLAngle &)
 Angle (double value)
void toBin (EndianOSStream &eoss)
Angleoperator= (const Angle &)
Angleoperator= (const double)
Angleoperator+= (const Angle &)
Angleoperator-= (const Angle &)
Angleoperator *= (const double)
Angleoperator/= (const double)
Angle operator+ (const Angle &) const
Angle operator- (const Angle &) const
Angle operator * (const double) const
Angle operator/ (const double) const
bool operator< (const Angle &) const
bool operator> (const Angle &) const
bool operator<= (const Angle &) const
bool operator>= (const Angle &) const
bool operator== (const Angle &) const
bool equals (const Angle &) const
bool operator!= (const Angle &) const
bool isZero () const
Angle operator- () const
Angle operator+ () const
string toString () const
string toStringI () const
 operator string () const
double get () const
IDLAngle toIDLAngle () const

Static Public Member Functions

static double fromString (const string &)
static string toString (double)
static Angle getAngle (StringTokenizer &t) throw (NumberFormatException)
static void toBin (const vector< Angle > &angle, EndianOSStream &eoss)
static void toBin (const vector< vector< Angle > > &angle, EndianOSStream &eoss)
static void toBin (const vector< vector< vector< Angle > > > &angle, EndianOSStream &eoss)
static Angle fromBin (EndianISStream &eiss)
static vector< Anglefrom1DBin (EndianISStream &eiss)
static vector< vector< Angle > > from2DBin (EndianISStream &eiss)
static vector< vector< vector<
Angle > > > 
from3DBin (EndianISStream &eiss)
static string unit ()

Friends

Angle operator * (double, const Angle &)
ostream & operator<< (ostream &, const Angle &)
istream & operator>> (istream &, Angle &)


Member Function Documentation

void asdm::Angle::toBin ( EndianOSStream &  eoss  ) 

Write the binary representation of this to an EndianOSStream.

static void asdm::Angle::toBin ( const vector< Angle > &  angle,
EndianOSStream &  eoss 
) [static]

Write the binary representation of a vector of Angle to a EndianOSStream.

Parameters:
angle the vector of Angle to be written
eoss the EndianOSStream to be written to

static void asdm::Angle::toBin ( const vector< vector< Angle > > &  angle,
EndianOSStream &  eoss 
) [static]

Write the binary representation of a vector of vector of Angle to a EndianOSStream.

Parameters:
angle the vector of vector of Angle to be written
eoss the EndianOSStream to be written to

static void asdm::Angle::toBin ( const vector< vector< vector< Angle > > > &  angle,
EndianOSStream &  eoss 
) [static]

Write the binary representation of a vector of vector of vector of Angle to a EndianOSStream.

Parameters:
angle the vector of vector of vector of Angle to be written
eoss the EndianOSStream to be written to

static Angle asdm::Angle::fromBin ( EndianISStream &  eiss  )  [static]

Read the binary representation of an Angle from a EndianISStream and use the read value to set an Angle.

Parameters:
eiss the EndianStream to be read
Returns:
an Angle

static vector<Angle> asdm::Angle::from1DBin ( EndianISStream &  eiss  )  [static]

Read the binary representation of a vector of Angle from an EndianISStream and use the read value to set a vector of Angle.

Parameters:
eiis the EndianISStream to be read
Returns:
a vector of Angle

static vector<vector<Angle> > asdm::Angle::from2DBin ( EndianISStream &  eiss  )  [static]

Read the binary representation of a vector of vector of Angle from an EndianISStream and use the read value to set a vector of vector of Angle.

Parameters:
eiis the EndianISStream to be read
Returns:
a vector of vector of Angle

static vector<vector<vector<Angle> > > asdm::Angle::from3DBin ( EndianISStream &  eiss  )  [static]

Read the binary representation of a vector of vector of vector of Angle from an EndianISStream and use the read value to set a vector of vector of vector of Angle.

Parameters:
eiss the EndianISStream to be read
Returns:
a vector of vector of vector of Angle


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:46:47 2007 for ASDM C++ Implementation by  doxygen 1.5.1