![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Resource Option Class
Contained in: global
Derived from:
none
Derived by:
none
Group: Core (Resources)
#include <ClanLib/core.h>
public function member index: |
||
Construction: |
||
CL_ResourceOption | (const std::string& name, const std::string& value); | |
CL_ResourceOption | (const std::string& name); | |
CL_ResourceOption | (); | |
CL_ResourceOption | (const CL_ResourceOption& other); | |
Attributes: |
||
const std::string& | get_name | () const; |
const std::string& | get_value | (int i=0) const; |
std::vector<std::string>& | get_values | (); |
Operations: |
||
void | operator = | (const CL_ResourceOption& other); |
int | add_value | (const std::string& value); |
name - The name of the option
value - Value of the option as a string
name - The name of the option.
value - the string value to add
Returns - the index of the added value
Returns - The name of the option
i - The index of which value to return, default of 0
Returns - The option for the index value of i.
Returns - An std::vector<std::string> with all the values.