Raul::Atom Class Reference

An OSC atom (fundamental data types OSC messages are composed of). More...

#include <Atom.hpp>

List of all members.

Public Types

enum  Type {
  NIL, INT, FLOAT, BOOL,
  STRING, BLOB
}

Public Member Functions

 Atom (int32_t val)
 Atom (float val)
 Atom (bool val)
 Atom (const char *val)
 Atom (const std::string &val)
 Atom (void *val)
 Atom (const Atom &copy)
Atomoperator= (const Atom &other)
Type type () const
 Type of this atom.
int32_t get_int32 () const
float get_float () const
bool get_bool () const
const char * get_string () const
const void * get_blob () const
 operator bool () const


Detailed Description

An OSC atom (fundamental data types OSC messages are composed of).


Member Function Documentation

Type Raul::Atom::type (  )  const [inline]

Type of this atom.

Always check this before attempting to get the value - attempting to get the incorrectly typed value is a fatal error.


The documentation for this class was generated from the following file:
Generated on Wed Apr 9 08:14:41 2008 for RAUL by  doxygen 1.5.1