Home Hierarchy Members Alphabetical Related Pages

SFBool Class Reference
[Field Types]

#include <sfbool.h>

List of all members.

Public Member Functions

 SFBool ()
 SFBool (const bool b)
SFBooloperator= (const bool b)
SFBooloperator= (const SFBool b)
 operator bool () const
bool operator== (const SFBool &b)

Static Public Member Functions

static const char * typeName ()
static FieldTypeId typeId ()

Friends

std::ostream & operator<< (std::ostream &s, const SFBool &f)


Detailed Description

Represents a boolean value. Below is included the documentation for this field type from the ISO standard.

+ 5.2 SFBool

The SFBool field or event specifies a single boolean value. SFBools are written as TRUE or FALSE. For example,

    fooBool FALSE

is an SFBool field, fooBool, defining a FALSE value.

The initial value of an SFBool eventOut is FALSE.

--- VRML separator bar ---


Constructor & Destructor Documentation

SFBool (  )  [inline]

Creates a SFBool with default value false.

SFBool ( const bool  b  )  [inline]

Creates a SFBool with value b.


Member Function Documentation

SFBool & operator= ( const bool  b  )  [inline]

SFBool & operator= ( const SFBool  b  )  [inline]

operator bool (  )  const [inline]

bool operator== ( const SFBool b  )  [inline]

const char * typeName (  )  [inline, static]

FieldTypeId typeId (  )  [inline, static]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const SFBool f 
) [friend]


Generated on 5 Jan 2007 with doxygen version 1.5.1. Valid HTML 4.0! Valid CSS!