alaCarte Maps
Renderer for OpenStreetMap tiles
TypedId< TypeNumber > Class Template Reference

#include <typedId.hpp>

Public Member Functions

 TypedId ()
 
 TypedId (unsigned int id)
 
unsigned int getRaw () const
 
bool operator== (const TypedId &other) const
 
bool operator!= (const TypedId &other) const
 
bool operator< (const TypedId &right) const
 
bool operator> (const TypedId &right) const
 
bool operator>= (const TypedId &right) const
 
bool operator<= (const TypedId &right) const
 

Static Public Attributes

static const unsigned short type_number = TypeNumber
 

Private Member Functions

template<typename Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

unsigned int id
 

Friends

class boost::serialization::access
 

Detailed Description

template<unsigned short TypeNumber>
class TypedId< TypeNumber >

Definition at line 37 of file typedId.hpp.

Constructor & Destructor Documentation

template<unsigned short TypeNumber>
TypedId< TypeNumber >::TypedId ( )
inlineexplicit

Definition at line 43 of file typedId.hpp.

template<unsigned short TypeNumber>
TypedId< TypeNumber >::TypedId ( unsigned int  id)
inlineexplicit

Definition at line 48 of file typedId.hpp.

Member Function Documentation

template<unsigned short TypeNumber>
unsigned int TypedId< TypeNumber >::getRaw ( ) const
inline

Definition at line 53 of file typedId.hpp.

template<unsigned short TypeNumber>
bool TypedId< TypeNumber >::operator!= ( const TypedId< TypeNumber > &  other) const
inline

Definition at line 64 of file typedId.hpp.

template<unsigned short TypeNumber>
bool TypedId< TypeNumber >::operator< ( const TypedId< TypeNumber > &  right) const
inline

Definition at line 69 of file typedId.hpp.

template<unsigned short TypeNumber>
bool TypedId< TypeNumber >::operator<= ( const TypedId< TypeNumber > &  right) const
inline

Definition at line 84 of file typedId.hpp.

template<unsigned short TypeNumber>
bool TypedId< TypeNumber >::operator== ( const TypedId< TypeNumber > &  other) const
inline

Definition at line 59 of file typedId.hpp.

template<unsigned short TypeNumber>
bool TypedId< TypeNumber >::operator> ( const TypedId< TypeNumber > &  right) const
inline

Definition at line 74 of file typedId.hpp.

template<unsigned short TypeNumber>
bool TypedId< TypeNumber >::operator>= ( const TypedId< TypeNumber > &  right) const
inline

Definition at line 79 of file typedId.hpp.

template<unsigned short TypeNumber>
template<typename Archive >
void TypedId< TypeNumber >::serialize ( Archive ar,
const unsigned int  version 
)
inlineprivate

Definition at line 90 of file typedId.hpp.

Friends And Related Function Documentation

template<unsigned short TypeNumber>
friend class boost::serialization::access
friend

Definition at line 39 of file typedId.hpp.

Member Data Documentation

template<unsigned short TypeNumber>
unsigned int TypedId< TypeNumber >::id
private

Definition at line 94 of file typedId.hpp.

template<unsigned short TypeNumber>
const unsigned short TypedId< TypeNumber >::type_number = TypeNumber
static

Definition at line 41 of file typedId.hpp.


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