Xonotic
CvarStringSource Class Reference
+ Inheritance diagram for CvarStringSource:
+ Collaboration diagram for CvarStringSource:

Public Member Functions

 ATTRIB (StringSource, StringSource_str, string)
 
 ATTRIB (StringSource, StringSource_sep, string)
 
 ATTRIB (CvarStringSource, CvarStringSource_cvar, string)
 
 CvarStringSource ::CvarStringSource (string cv, string sep)
 
virtual void CvarStringSource ::getEntry ()
 
virtual void CvarStringSource ::reload ()
 
virtual void DataSource ::destroy ()
 cleanup on shutdown. More...
 
virtual void DataSource ::getEntry ()
 get entry i passing name and icon through returns if it is not null returns DataSource_false if out of bounds otherwise returns an entity or DataSource_true More...
 
virtual void DataSource ::indexOf ()
 return the index of the first match for find. More...
 
virtual void DataSource ::reload ()
 reload all entries matching filter returning how many matches were found More...
 
virtual void StringSource ::getEntry ()
 
virtual void StringSource ::reload ()
 
 StringSource ::StringSource (string str, string sep)
 

Static Public Attributes

static entity false = NULL
 
static entity true = NEW(Object)
 

Detailed Description

Definition at line 29 of file datasource.qh.

Member Function Documentation

◆ ATTRIB() [1/3]

StringSource::ATTRIB ( StringSource  ,
StringSource_str  ,
string   
)
inherited

◆ ATTRIB() [2/3]

StringSource::ATTRIB ( StringSource  ,
StringSource_sep  ,
string   
)
inherited

◆ ATTRIB() [3/3]

CvarStringSource::ATTRIB ( CvarStringSource  ,
CvarStringSource_cvar  ,
string   
)

◆ CvarStringSource ::CvarStringSource()

CvarStringSource::CvarStringSource ::CvarStringSource ( string  cv,
string  sep 
)

◆ CvarStringSource ::getEntry()

virtual void CvarStringSource::CvarStringSource ::getEntry ( )
virtual

◆ CvarStringSource ::reload()

virtual void CvarStringSource::CvarStringSource ::reload ( )
virtual

◆ DataSource ::destroy()

virtual void DataSource::DataSource ::destroy ( )
inlinevirtualinherited

cleanup on shutdown.

optional

Definition at line 17 of file datasource.qh.

References ENDCLASS.

17 { }

◆ DataSource ::getEntry()

virtual void DataSource::DataSource ::getEntry ( )
inlinevirtualinherited

get entry i passing name and icon through returns if it is not null returns DataSource_false if out of bounds otherwise returns an entity or DataSource_true

Definition at line 11 of file datasource.qh.

11 { return DataSource_false; }

◆ DataSource ::indexOf()

virtual void DataSource::DataSource ::indexOf ( )
inlinevirtualinherited

return the index of the first match for find.

optional

Definition at line 13 of file datasource.qh.

13 { return -1; }

◆ DataSource ::reload()

virtual void DataSource::DataSource ::reload ( )
inlinevirtualinherited

reload all entries matching filter returning how many matches were found

Definition at line 15 of file datasource.qh.

15 { return 0; }

◆ StringSource ::getEntry()

virtual void StringSource::StringSource ::getEntry ( )
virtualinherited

◆ StringSource ::reload()

virtual void StringSource::StringSource ::reload ( )
virtualinherited

◆ StringSource ::StringSource()

StringSource::StringSource ::StringSource ( string  str,
string  sep 
)
inherited

Member Data Documentation

◆ false

entity DataSource::false = NULL
staticinherited

Definition at line 5 of file datasource.qh.

◆ true

entity DataSource::true = NEW(Object)
staticinherited

Definition at line 4 of file datasource.qh.


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