BIdentifier Class Reference

#include <BIdentifier.h>

List of all members.


Detailed Description

An identifier that identifies a geodetic definition in the data source.

An identifier consists of an issuer and a code. The issuer indicates the authority that is responsible for providing the definition. For example, an issuer of "BMG" indicates that the definition is provided by Blue Marble Geographics, and an issuer of "EPSG" indicates that the definition came from the EPSG database. The code differentiates the specific definition from other definitions with the same identifier. It is required that each object in the data source have an identifier where the issuer is "GC".

Public Member Functions

 BIdentifier (const BIdentifier &identifier)
 Copy constructor.
 BIdentifier (const BString &issuer, const BString &code)
 Constructs a BIdentifier from an issuer and a code.
 BIdentifier ()
 Default constructor.
const BStringGetCode (void) const
 Gets the code.
const BStringGetIssuer (void) const
 Gets the issuer.
bool operator!= (const BIdentifier &rhs)
 Inequality operator.
BIdentifieroperator= (const BIdentifier &rhs)
 Assignment operator.
bool operator== (const BIdentifier &rhs)
 Equality operator.
void SetCode (const BString &code)
 Sets the code.
void SetIssuer (const BString &issuer)
 Sets the issuer.
virtual ~BIdentifier ()
 Destructor.


Constructor & Destructor Documentation

BIdentifier (  )  [inline]

Default constructor.

This creates a BIdentifier that doesn't identify anything.

BIdentifier ( const BString issuer,
const BString code 
) [inline]

Constructs a BIdentifier from an issuer and a code.

Parameters:
issuer The issuer.
code The code.

BIdentifier ( const BIdentifier identifier  )  [inline]

Copy constructor.

Parameters:
identifier The BIdentifier object to copy.

virtual ~BIdentifier (  )  [inline, virtual]

Destructor.


Member Function Documentation

const BString& GetCode ( void   )  const [inline]

Gets the code.

Returns:
The code.

const BString& GetIssuer ( void   )  const [inline]

Gets the issuer.

Returns:
The issuer.

bool operator!= ( const BIdentifier rhs  )  [inline]

Inequality operator.

Parameters:
rhs The BIdentifier to be compared with this one.
Returns:
True if the BIdentifiers do not have the same value and false otherwise.

BIdentifier& operator= ( const BIdentifier rhs  )  [inline]

Assignment operator.

Parameters:
rhs The BIdentifier whose value will be copied into this one.
Returns:
A reference to this BIdentifier.

bool operator== ( const BIdentifier rhs  )  [inline]

Equality operator.

Parameters:
rhs The BIdentifier to be compared with this one.
Returns:
True if the BIdentifiers have the same value and false otherwise.

void SetCode ( const BString code  )  [inline]

Sets the code.

Parameters:
code The code.

void SetIssuer ( const BString issuer  )  [inline]

Sets the issuer.

Parameters:
issuer The issuer.


The documentation for this class was generated from the following file:

GeoTranslate 5.0 From Blue Marble Geographics