arsa  2.7
Public Member Functions | Public Attributes | List of all members
irr::scene::quake3::SVariable Struct Reference

#include <IQ3Shader.h>

Public Member Functions

 SVariable (const c8 *n, const c8 *c=0)
 
virtual ~SVariable ()
 
void clear ()
 
s32 isValid () const
 
bool operator== (const SVariable &other) const
 
bool operator< (const SVariable &other) const
 

Public Attributes

core::stringc name
 
core::stringc content
 

Detailed Description

Definition at line 540 of file IQ3Shader.h.

Constructor & Destructor Documentation

◆ SVariable()

irr::scene::quake3::SVariable::SVariable ( const c8 n,
const c8 c = 0 
)
inline

Definition at line 545 of file IQ3Shader.h.

545 : name ( n ), content (c) {}
GLdouble n
const GLubyte * c

◆ ~SVariable()

virtual irr::scene::quake3::SVariable::~SVariable ( )
inlinevirtual

Definition at line 546 of file IQ3Shader.h.

546 {}

Member Function Documentation

◆ clear()

void irr::scene::quake3::SVariable::clear ( void  )
inline

Definition at line 548 of file IQ3Shader.h.

549  {
550  name = "";
551  content = "";
552  }
GLuint const GLchar * name

◆ isValid()

s32 irr::scene::quake3::SVariable::isValid ( ) const
inline

Definition at line 554 of file IQ3Shader.h.

555  {
556  return name.size();
557  }
GLuint const GLchar * name

◆ operator<()

bool irr::scene::quake3::SVariable::operator< ( const SVariable other) const
inline

Definition at line 564 of file IQ3Shader.h.

565  {
566  return 0 > strcmp ( name.c_str(), other.name.c_str () );
567  }
GLuint const GLchar * name

◆ operator==()

bool irr::scene::quake3::SVariable::operator== ( const SVariable other) const
inline

Definition at line 559 of file IQ3Shader.h.

560  {
561  return 0 == strcmp ( name.c_str(), other.name.c_str () );
562  }
GLuint const GLchar * name

Member Data Documentation

◆ content

core::stringc irr::scene::quake3::SVariable::content

Definition at line 543 of file IQ3Shader.h.

◆ name

core::stringc irr::scene::quake3::SVariable::name

Definition at line 542 of file IQ3Shader.h.


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