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

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

Friends

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


Member Function Documentation

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

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

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

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

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

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

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

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

Write the binary representation of this to an EndianOSStream.


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 17:43:42 2008 for ASDM C++ Implementation by doxygen 1.3.8