newspeoplefor developersdocumentationdownloads

nEnv Class Reference

#include <nenv.h>

Inheritance diagram for nEnv:

nRoot nObject nNode nReferenced nSignalEmitter List of all members.

Detailed Description

A typed value in a named object. Technically, a nArg object wrapped into a nRoot.

See also nEnv Script Interface

(C) 2002 RadonLabs GmbH

Definition at line 19 of file nenv.h.


Public Member Functions

virtual bool SaveCmds (nPersistServer *ps)
 object persistency
nArg::Type GetType ()
 Returns the type of this nEnv instance.
void SetI (int i)
 Sets the value of this object to the passed integer.
void SetB (bool b)
 Sets the value of this object to the passes boolean value.
void SetF (float f)
 Sets the value of this object to the passed float value.
void SetS (const char *s)
 Sets the value of this object to the passed string.
void SetO (nRoot *o)
 Sets the value of this object to the passed object.
void SetF4 (const nFloat4 &f4)
 set float4 value
void SetV4 (const vector4 &v)
 set a vector4
void SetV3 (const vector3 &v)
 set a vector3
int GetI ()
 Returns the integer value.
bool GetB ()
 Returns the boolean value.
float GetF ()
 Returns the float value.
const char * GetS ()
 Returns the string.
nRootGetO ()
 Returns the object.
const nFloat4GetF4 ()
 get float4 value
const vector4GetV4 ()
 get vector4 value
const vector3GetV3 ()
 get vector3 value

Member Function Documentation

virtual bool nEnv::SaveCmds nPersistServer ps  )  [virtual]
 

object persistency

Reimplemented from nObject.

nArg::Type nEnv::GetType  )  [inline]
 

Returns the type of this nEnv instance.

Definition at line 68 of file nenv.h.

void nEnv::SetI int  i  )  [inline]
 

Sets the value of this object to the passed integer.

Definition at line 78 of file nenv.h.

void nEnv::SetB bool  b  )  [inline]
 

Sets the value of this object to the passes boolean value.

Definition at line 88 of file nenv.h.

void nEnv::SetF float  f  )  [inline]
 

Sets the value of this object to the passed float value.

Definition at line 98 of file nenv.h.

void nEnv::SetS const char *  s  )  [inline]
 

Sets the value of this object to the passed string.

Definition at line 108 of file nenv.h.

void nEnv::SetO nRoot o  )  [inline]
 

Sets the value of this object to the passed object.

Definition at line 118 of file nenv.h.

void nEnv::SetF4 const nFloat4 f4  )  [inline]
 

set float4 value

Definition at line 128 of file nenv.h.

void nEnv::SetV4 const vector4 v  )  [inline]
 

set a vector4

Definition at line 138 of file nenv.h.

void nEnv::SetV3 const vector3 v  )  [inline]
 

set a vector3

Definition at line 148 of file nenv.h.

int nEnv::GetI  )  [inline]
 

Returns the integer value.

Definition at line 158 of file nenv.h.

bool nEnv::GetB  )  [inline]
 

Returns the boolean value.

Definition at line 168 of file nenv.h.

float nEnv::GetF  )  [inline]
 

Returns the float value.

Definition at line 178 of file nenv.h.

const char * nEnv::GetS  )  [inline]
 

Returns the string.

Definition at line 188 of file nenv.h.

nRoot * nEnv::GetO  )  [inline]
 

Returns the object.

Definition at line 198 of file nenv.h.

const nFloat4 & nEnv::GetF4  )  [inline]
 

get float4 value

Definition at line 208 of file nenv.h.

const vector4 & nEnv::GetV4  )  [inline]
 

get vector4 value

Definition at line 218 of file nenv.h.

const vector3 & nEnv::GetV3  )  [inline]
 

get vector3 value

Definition at line 228 of file nenv.h.


The documentation for this class was generated from the following file:

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.