Home | Download | Screen shots | Discussion | Documentation
--- | --- | --- | --- | ---

# field_value.h File Reference

Field value types. More...

`#include <memory>`
`#include <string>`
`#include <typeinfo>`
`#include <boost/cast.hpp>`
`#include <boost/concept_check.hpp>`
`#include <boost/intrusive_ptr.hpp>`
`#include <boost/scoped_ptr.hpp>`
`#include <boost/shared_ptr.hpp>`
`#include <boost/utility.hpp>`
`#include <boost/thread.hpp>`
`#include <openvrml/basetypes.h>`
Include dependency graph for field_value.h:
This graph shows which files directly or indirectly include this file:

## Classes
class | openvrml::field_value
| Abstract base class for the VRML field types. More...
class | openvrml::field_value::counted_impl_base
| Base class for the internal reference-counted objects. More...
class | openvrml::field_value::counted_impl< ValueType >
| Concrete reference-counted implementation. More...
class | openvrml::field_value::value_type_constructor_tag
| This struct exists only to disambiguate `field_value`'s constructor template from its copy constructor. More...
struct | openvrml::FieldValueConcept< T >
| Concept checking class to validate that a template parameter is a model of the Field Value concept. More...
class | openvrml::sfbool
| A boolean `node` field value. More...
class | openvrml::sfcolor
| A color node field value. More...
class | openvrml::sfcolorrgba
| A color_rgba node field value. More...
class | openvrml::sffloat
| A single precision floating point node field value. More...
class | openvrml::sfdouble
| A single precision doubleing point node field value. More...
class | openvrml::sfimage
| A pixmap. More...
class | openvrml::sfint32
| A 32-bit integer node field value. More...
class | openvrml::sfnode
| A node field value to hold a single node reference. More...
class | openvrml::sfrotation
| A rotation `node` field value. More...
class | openvrml::sfstring
| A string node field value. More...
class | openvrml::sftime
| A double precision floating point node field value. More...
class | openvrml::sfvec2f
| A 2-component vector node field value. More...
class | openvrml::sfvec2d
| A 2-component vector node field value. More...
class | openvrml::sfvec3f
| A 3-component vector node field value. More...
class | openvrml::sfvec3d
| A 3-component vector node field value. More...
class | openvrml::mfbool
| A `bool` array node field value. More...
class | openvrml::mfcolor
| A color array node field value. More...
class | openvrml::mfcolorrgba
| A color_rgba array node field value. More...
class | openvrml::mffloat
| A float array node field value. More...
class | openvrml::mfdouble
| A double array node field value. More...
class | openvrml::mfimage
| A image array node field value. More...
class | openvrml::mfint32
| An integer array node field value. More...
class | openvrml::mfnode
| A node reference array node field value. More...
class | openvrml::mfrotation
| A rotation array node field value. More...
class | openvrml::mfstring
| A string array node field value. More...
class | openvrml::mftime
| A double array node field value. More...
class | openvrml::mfvec2f
| A 2-component vector array node field value. More...
class | openvrml::mfvec2d
| A 2-component vector array node field value. More...
class | openvrml::mfvec3f
| A 3-component vector array node field value. More...
class | openvrml::mfvec3d
| A 3-component vector array node field value. More...
## Namespaces
namespace | openvrml

| The OpenVRML Runtime Library.
namespace | std

| STL namespace.
## Functions
std::ostream & | openvrml::operator<< (std::ostream &out, const field_value &value)
| Stream output.
std::ostream & | openvrml::operator<< (std::ostream &out, field_value::type_id type_id)
| Stream output.
std::istream & | openvrml::operator>> (std::istream &in, field_value::type_id &type_id)
| Stream input.
bool | openvrml::operator== (const sfbool &lhs, const sfbool &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfbool &lhs, const sfbool &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfcolor &lhs, const sfcolor &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfcolor &lhs, const sfcolor &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfcolorrgba &lhs, const sfcolorrgba &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfcolorrgba &lhs, const sfcolorrgba &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sffloat &lhs, const sffloat &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sffloat &lhs, const sffloat &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfdouble &lhs, const sfdouble &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfdouble &lhs, const sfdouble &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfimage &lhs, const sfimage &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfimage &lhs, const sfimage &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfint32 &lhs, const sfint32 &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfint32 &lhs, const sfint32 &rhs) throw ()
| Compare for inequality.
void | openvrml::intrusive_ptr_add_ref (const node *) throw ()
| Increment the reference count.
void | openvrml::intrusive_ptr_release (const node *) throw ()
| Decrement the reference count.
bool | openvrml::operator== (const sfnode &lhs, const sfnode &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfnode &lhs, const sfnode &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfrotation &lhs, const sfrotation &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfrotation &lhs, const sfrotation &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfstring &lhs, const sfstring &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfstring &lhs, const sfstring &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sftime &lhs, const sftime &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sftime &lhs, const sftime &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfvec2f &lhs, const sfvec2f &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfvec2f &lhs, const sfvec2f &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfvec2d &lhs, const sfvec2d &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfvec2d &lhs, const sfvec2d &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfvec3f &lhs, const sfvec3f &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfvec3f &lhs, const sfvec3f &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const sfvec3d &lhs, const sfvec3d &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const sfvec3d &lhs, const sfvec3d &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfbool &lhs, const mfbool &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfbool &lhs, const mfbool &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfcolor &lhs, const mfcolor &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfcolor &lhs, const mfcolor &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfcolorrgba &lhs, const mfcolorrgba &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfcolorrgba &lhs, const mfcolorrgba &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mffloat &lhs, const mffloat &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mffloat &lhs, const mffloat &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfdouble &lhs, const mfdouble &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfdouble &lhs, const mfdouble &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfimage &lhs, const mfimage &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfimage &lhs, const mfimage &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfint32 &lhs, const mfint32 &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfint32 &lhs, const mfint32 &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfnode &lhs, const mfnode &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfnode &lhs, const mfnode &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfrotation &lhs, const mfrotation &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfrotation &lhs, const mfrotation &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfstring &lhs, const mfstring &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfstring &lhs, const mfstring &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mftime &lhs, const mftime &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mftime &lhs, const mftime &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfvec2f &lhs, const mfvec2f &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfvec2f &lhs, const mfvec2f &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfvec2d &lhs, const mfvec2d &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfvec2d &lhs, const mfvec2d &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfvec3f &lhs, const mfvec3f &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfvec3f &lhs, const mfvec3f &rhs) throw ()
| Compare for inequality.
bool | openvrml::operator== (const mfvec3d &lhs, const mfvec3d &rhs) throw ()
| Compare for equality.
bool | openvrml::operator!= (const mfvec3d &lhs, const mfvec3d &rhs) throw ()
| Compare for inequality.
template<>
void | std::swap (openvrml::sfcolor &a, openvrml::sfcolor &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfcolorrgba &a, openvrml::sfcolorrgba &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfdouble &a, openvrml::sfdouble &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sffloat &a, openvrml::sffloat &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfimage &a, openvrml::sfimage &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfint32 &a, openvrml::sfint32 &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfnode &a, openvrml::sfnode &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfrotation &a, openvrml::sfrotation &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfstring &a, openvrml::sfstring &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sftime &a, openvrml::sftime &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfvec2d &a, openvrml::sfvec2d &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfvec2f &a, openvrml::sfvec2f &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfvec3d &a, openvrml::sfvec3d &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfvec3f &a, openvrml::sfvec3f &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfbool &a, openvrml::mfbool &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::sfbool &a, openvrml::sfbool &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfcolor &a, openvrml::mfcolor &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfcolorrgba &a, openvrml::mfcolorrgba &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfdouble &a, openvrml::mfdouble &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mffloat &a, openvrml::mffloat &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfimage &a, openvrml::mfimage &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfint32 &a, openvrml::mfint32 &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfnode &a, openvrml::mfnode &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfrotation &a, openvrml::mfrotation &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfstring &a, openvrml::mfstring &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mftime &a, openvrml::mftime &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfvec2d &a, openvrml::mfvec2d &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfvec2f &a, openvrml::mfvec2f &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfvec3d &a, openvrml::mfvec3d &b)
| Swap the values of `a` and `b`.
template<>
void | std::swap (openvrml::mfvec3f &a, openvrml::mfvec3f &b)
| Swap the values of `a` and `b`.

## Detailed Description

Field value types.