WhirlyGlobe  1.1
A 3D interactive globe toolkit for ios
WhirlyGlobe::Identifiable Class Reference

#include <Identifiable.h>

Inheritance diagram for WhirlyGlobe::Identifiable:
WhirlyGlobe::Cullable WhirlyGlobe::Drawable WhirlyGlobe::LabelSceneRep WhirlyGlobe::Texture WhirlyGlobe::VectorSceneRep WhirlyGlobe::VectorShape WhirlyGlobe::BasicDrawable WhirlyGlobe::VectorAreal WhirlyGlobe::VectorLinear WhirlyGlobe::VectorPoints

List of all members.

Public Member Functions

 Identifiable ()
 Construct with a new ID.
SimpleIdentity getId () const
 Return the identity.
void setId (SimpleIdentity inId)
 In most cases you should be using the one you inherit.
bool operator< (const Identifiable &that)
 Used for sorting.

Static Public Member Functions

static SimpleIdentity genId ()

Protected Attributes

SimpleIdentity myId

Detailed Description

Simple unique ID base class. If you subclass this you'll get your own unique ID for the given object instance. See the SimpleIdentity for an explanation of why we use these.


Member Function Documentation

static SimpleIdentity WhirlyGlobe::Identifiable::genId ( ) [static]

Generate a new ID without an object. We use this in cases where we're going to be creating an Identifiable subclass, but haven't yet.

void WhirlyGlobe::Identifiable::setId ( SimpleIdentity  inId) [inline]

In most cases you should be using the one you inherit.

Think carefully before setting this


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