title: return the type of a class instead of an object
body: <p>I want something like this:</p>
  
  <pre><code>class* defineType(ofxDTangible &amp;t) {
      if(t.angle &gt; PI) {
          return STSequencer;
      }
      else if(t.angle &gt; HALF_PI) {
          return STSample;
      }
      return NULL;
  }
  </code></pre>
  
  <p>So i want to return not an object of the class type but the type of the class itself.
  Is it possible?</p>
  
  <p>What i want is something like this:</p>
  
  <pre><code>    classType = defineType(tang);
      if(classType != NULL) {
          // create the object somehow?
      }
  </code></pre>
  
  <p>It's probably bad, but i'm just wondering if it's possible.</p>