Support Forum       G3D Web Page     
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
G3D::Access Class Reference

Access specifier for a buffer of data. More...

Public Types

enum  Value {
  READ = 0x88B8,
  WRITE = 0x88B9,
  READ_WRITE = 0x88BA
}
 

Public Member Functions

 Access (const G3D::String &x)
 
 Access (char v)
 
 Access (int v)
 
 Access (const G3D::Any &a)
 
 Access ()
 
 Access (const Value v)
 
void deserialize (G3D::BinaryInput &b)
 
unsigned int hashCode () const
 
 operator int () const
 
bool operator!= (const Access ::Value other) const
 
bool operator!= (const Access other) const
 
Access operator+ (const int x) const
 
Accessoperator++ ()
 
Accessoperator+= (const int x)
 
Access operator- (const int x) const
 
Accessoperator-- ()
 
Accessoperator-= (const int x)
 
bool operator< (const Access other) const
 
bool operator< (const Value other) const
 
bool operator<= (const Value other) const
 
bool operator<= (const Access other) const
 
Accessoperator= (const G3D::Any &a)
 
bool operator== (const Access ::Value other) const
 
bool operator== (const Access other) const
 
bool operator> (const Access other) const
 
bool operator> (const Value other) const
 
bool operator>= (const Access other) const
 
bool operator>= (const Value other) const
 
void serialize (G3D::BinaryOutput &b) const
 
G3D::Any toAny () const
 
const char * toString () const
 

Static Public Member Functions

static const char * classname ()
 
static int count ()
 
static Value nthValue (int n)
 
static const char * toString (int i, Value &v)
 

Public Attributes

enum G3D::Access::Value value
 

Detailed Description

Access specifier for a buffer of data.

Has identical values to the corresponding GL pragmas

Member Enumeration Documentation

◆ Value

Enumerator
READ 
WRITE 
READ_WRITE 

Constructor & Destructor Documentation

◆ Access() [1/6]

G3D::Access::Access ( const G3D::String x)
inlineexplicit

◆ Access() [2/6]

G3D::Access::Access ( const G3D::Any a)
inlineexplicit

◆ Access() [3/6]

G3D::Access::Access ( char  v)
inlineexplicit

◆ Access() [4/6]

G3D::Access::Access ( )
inline

◆ Access() [5/6]

G3D::Access::Access ( const Value  v)
inline

◆ Access() [6/6]

G3D::Access::Access ( int  v)
inlineexplicit

Member Function Documentation

◆ classname()

static const char* G3D::Access::classname ( )
inlinestatic

◆ count()

static int G3D::Access::count ( )
inlinestatic

◆ deserialize()

void G3D::Access::deserialize ( G3D::BinaryInput b)
inline

◆ hashCode()

unsigned int G3D::Access::hashCode ( ) const
inline

◆ nthValue()

static Value G3D::Access::nthValue ( int  n)
inlinestatic

◆ operator int()

G3D::Access::operator int ( ) const
inline

◆ operator!=() [1/2]

bool G3D::Access::operator!= ( const Access  other) const
inline

◆ operator!=() [2/2]

bool G3D::Access::operator!= ( const Access ::Value  other) const
inline

◆ operator+()

Access G3D::Access::operator+ ( const int  x) const
inline

◆ operator++()

Access& G3D::Access::operator++ ( )
inline

◆ operator+=()

Access& G3D::Access::operator+= ( const int  x)
inline

◆ operator-()

Access G3D::Access::operator- ( const int  x) const
inline

◆ operator--()

Access& G3D::Access::operator-- ( )
inline

◆ operator-=()

Access& G3D::Access::operator-= ( const int  x)
inline

◆ operator<() [1/2]

bool G3D::Access::operator< ( const Value  other) const
inline

◆ operator<() [2/2]

bool G3D::Access::operator< ( const Access  other) const
inline

◆ operator<=() [1/2]

bool G3D::Access::operator<= ( const Access  other) const
inline

◆ operator<=() [2/2]

bool G3D::Access::operator<= ( const Value  other) const
inline

◆ operator=()

Access& G3D::Access::operator= ( const G3D::Any a)
inline

◆ operator==() [1/2]

bool G3D::Access::operator== ( const Access ::Value  other) const
inline

◆ operator==() [2/2]

bool G3D::Access::operator== ( const Access  other) const
inline

◆ operator>() [1/2]

bool G3D::Access::operator> ( const Access  other) const
inline

◆ operator>() [2/2]

bool G3D::Access::operator> ( const Value  other) const
inline

◆ operator>=() [1/2]

bool G3D::Access::operator>= ( const Access  other) const
inline

◆ operator>=() [2/2]

bool G3D::Access::operator>= ( const Value  other) const
inline

◆ serialize()

void G3D::Access::serialize ( G3D::BinaryOutput b) const
inline

◆ toAny()

G3D::Any G3D::Access::toAny ( ) const
inline

◆ toString() [1/2]

static const char* G3D::Access::toString ( int  i,
Value v 
)
inlinestatic

◆ toString() [2/2]

const char* G3D::Access::toString ( ) const
inline

Member Data Documentation

◆ value

enum G3D::Access::Value G3D::Access::value

documentation generated on Wed Nov 24 2021 08:01:52 using doxygen 1.8.15