alaCarte Maps
Renderer for OpenStreetMap tiles
AnyId Class Reference

#include <typedId.hpp>

Public Member Functions

template<unsigned int TypeNumber>
 AnyId (const TypedId< TypeNumber > &id)
bool operator== (const AnyId &other) const
template<typename IdType >
IdType is () const
template<typename IdType >
IdType get () const

Private Attributes

unsigned short type
unsigned int id

Detailed Description

Definition at line 111 of file typedId.hpp.

Constructor & Destructor Documentation

template<unsigned int TypeNumber>
AnyId::AnyId ( const TypedId< TypeNumber > &  id)

Definition at line 115 of file typedId.hpp.

Member Function Documentation

template<typename IdType >
IdType AnyId::get ( ) const

Definition at line 135 of file typedId.hpp.

template<typename IdType >
IdType AnyId::is ( ) const

Definition at line 128 of file typedId.hpp.

bool AnyId::operator== ( const AnyId other) const

Definition at line 122 of file typedId.hpp.

Member Data Documentation

unsigned int AnyId::id

Definition at line 144 of file typedId.hpp.

unsigned short AnyId::type

Definition at line 143 of file typedId.hpp.

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