#include <BIdentifier.h>
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 BString & | GetCode (void) const |
| Gets the code. | |
| const BString & | GetIssuer (void) const |
| Gets the issuer. | |
| bool | operator!= (const BIdentifier &rhs) |
| Inequality operator. | |
| BIdentifier & | operator= (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. | |
| BIdentifier | ( | ) | [inline] |
Default constructor.
This creates a BIdentifier that doesn't identify anything.
| BIdentifier | ( | const BString & | issuer, | |
| const BString & | code | |||
| ) | [inline] |
| BIdentifier | ( | const BIdentifier & | identifier | ) | [inline] |
| virtual ~BIdentifier | ( | ) | [inline, virtual] |
Destructor.
| const BString& GetCode | ( | void | ) | const [inline] |
Gets the code.
| const BString& GetIssuer | ( | void | ) | const [inline] |
Gets the issuer.
| bool operator!= | ( | const BIdentifier & | rhs | ) | [inline] |
Inequality operator.
| rhs | The BIdentifier to be compared with this one. |
| BIdentifier& operator= | ( | const BIdentifier & | rhs | ) | [inline] |
Assignment operator.
| rhs | The BIdentifier whose value will be copied into this one. |
| bool operator== | ( | const BIdentifier & | rhs | ) | [inline] |
Equality operator.
| rhs | The BIdentifier to be compared with this one. |
| void SetCode | ( | const BString & | code | ) | [inline] |
Sets the code.
| code | The code. |
| void SetIssuer | ( | const BString & | issuer | ) | [inline] |
Sets the issuer.
| issuer | The issuer. |