#include <BAngularUnit.h>

Public Member Functions | |
| BAngularUnit (const GeoCalc::ML::CAngularUnit &au) | |
| Copy constructor that copies a GeoCalc CAngularUnit. | |
| BAngularUnit (const BAngularUnit &unit) | |
| Copy constructor. | |
| BAngularUnit () | |
| Default constructor, which creates a BAngularUnit that is equivalent to degrees. | |
| BAngularUnit & | BAngularUnit::operator= (const BAngularUnit &au) |
| Assignment operator. | |
| virtual BString | GetAbbreviation (void) const |
| Gets the abbreviation (if it exists) for this BAngularUnit. | |
| virtual bool | GetIdentifier (const BString &issuer, BIdentifier &identifier) const |
| Get the BIdentifier with the given issuer for this BAngularUnit. | |
| virtual BIdentifierVector | GetIdentifiers () const |
| Returns a collection containing all BIdentifiers for this BAngularUnit. | |
| virtual BString | GetName (void) const |
| Gets the proper name of the BAngularUnit. | |
| virtual EUnitType | GetType (void) const |
| Gets the type of the BUnit. | |
| virtual double | GetUnitsPerBaseUnit () const |
| Gets the base unit conversion factor for this unit. | |
| double | GetUnitsPerDegree () const |
| Gets the number of these units that correspond to one degree. | |
| virtual | ~BAngularUnit () |
| Destructor. | |
Static Public Member Functions | |
| static BAngularUnitPtrVector | GetListOfAvailableAngularUnits () |
| Returns a list of all BAngularUnits that are defined in the current data source. | |
Protected Member Functions | |
| const GeoCalc::ML::CAngularUnit * | GetGCAngularUnit () const |
| Returns the GeoCalc CAngularUnit object that this BAngularUnit is based upon. | |
Friends | |
| class | BCoordSysRepository |
| BAngularUnit | ( | ) | [inline] |
Default constructor, which creates a BAngularUnit that is equivalent to degrees.
| BAngularUnit | ( | const BAngularUnit & | unit | ) | [inline] |
| BAngularUnit | ( | const GeoCalc::ML::CAngularUnit & | au | ) |
| virtual ~BAngularUnit | ( | ) | [virtual] |
Destructor.
| BAngularUnit& BAngularUnit::operator= | ( | const BAngularUnit & | au | ) |
Assignment operator.
| au | The BAngularUnit whose value will be copied into this BAngularUnit. |
| virtual BString GetAbbreviation | ( | void | ) | const [virtual] |
Gets the abbreviation (if it exists) for this BAngularUnit.
Implements BUnit.
| const GeoCalc::ML::CAngularUnit* GetGCAngularUnit | ( | ) | const [protected] |
Returns the GeoCalc CAngularUnit object that this BAngularUnit is based upon.
| virtual bool GetIdentifier | ( | const BString & | issuer, | |
| BIdentifier & | identifier | |||
| ) | const [virtual] |
Get the BIdentifier with the given issuer for this BAngularUnit.
| issuer | The issuer for the desired BIdentifier. | |
| identifier | The identifier for this BAngularUnit that has the specified issuer |
Implements BUnit.
| virtual BIdentifierVector GetIdentifiers | ( | ) | const [virtual] |
Returns a collection containing all BIdentifiers for this BAngularUnit.
Implements BUnit.
| static BAngularUnitPtrVector GetListOfAvailableAngularUnits | ( | ) | [static] |
Returns a list of all BAngularUnits that are defined in the current data source.
| virtual BString GetName | ( | void | ) | const [virtual] |
Gets the proper name of the BAngularUnit.
Implements BUnit.
| virtual EUnitType GetType | ( | void | ) | const [inline, virtual] |
Gets the type of the BUnit.
Since this is a BAngularUnit, this will always return eAngularUnit.
Implements BUnit.
| virtual double GetUnitsPerBaseUnit | ( | ) | const [virtual] |
Gets the base unit conversion factor for this unit.
The base unit for a BAngularUnit is always degrees. This value indicates the number of these units that correspond to one degree.
Implements BUnit.
| double GetUnitsPerDegree | ( | ) | const |
Gets the number of these units that correspond to one degree.
friend class BCoordSysRepository [friend] |