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

const char * typeName ()
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

operator bool  )  const [inline]
 

SFBool & operator= const SFBool  b  )  [inline]
 

SFBool & operator= const bool  b  )  [inline]
 

bool operator== const SFBool b  )  [inline]
 

FieldTypeId typeId  )  [inline, static]
 

const char * typeName  )  [inline, static]
 


Friends And Related Function Documentation

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


Generated on 24 Feb 2005 with doxygen version 1.3.9.1. Valid HTML 4.0! Valid CSS!