Boolean Class Reference
 
 
 
Boolean Class Reference

This reference page is linked to from the following overview topics: Creating Pipeline-Friendly Meshes, MAXScript Functions with Optional Arguments.


#include <value.h>

Inheritance diagram for Boolean:
Value Collectable

Public Member Functions

  Boolean ()
  classof_methods (Boolean, Value)
void  collect ()
void  sprin1 (CharStream *s)
Value not_vf (Value **arg_list, int count)
Value copy_vf (Value **arg_list, int count)
BOOL  to_bool ()
void  to_fpvalue (FPValue &v)
IOResult  Save (ISave *isave)

Static Public Member Functions

static Value Load (ILoad *iload, USHORT chunkID, ValueLoader *vload)

Constructor & Destructor Documentation

Boolean ( ) [inline]
{ tag = &Boolean_class; }

Member Function Documentation

classof_methods ( Boolean  ,
Value   
)
void collect ( ) [virtual]
void sprin1 ( CharStream *  s ) [virtual]

Reimplemented from Value.

Value* not_vf ( Value **  arg_list,
int  count 
)
Value* copy_vf ( Value **  arg_list,
int  count 
) [inline]
{ return this; }
BOOL to_bool ( ) [inline, virtual]

Reimplemented from Value.

{ return this == &true_value; }
void to_fpvalue ( FPValue v ) [inline, virtual]

Reimplemented from Value.

{ v.i = (this == &true_value) ? 1 : 0; v.type = (ParamType2)TYPE_BOOL; }
IOResult Save ( ISave isave ) [virtual]

Reimplemented from Value.

static Value* Load ( ILoad iload,
USHORT  chunkID,
ValueLoader vload 
) [static]