Difference between revisions of "CBlob::get (type)"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> </onlyinclude> <syntaxhighlight lang="cpp"> s8 get_s8(const string &in) u8 get_u8(const string &in) s16 get_s16(const string &in) u16 get_u16(const string &in) ...")
 
m (Small description + Object and array versions)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
+
Retrieves a value of a certain type
 
</onlyinclude>
 
</onlyinclude>
 
   
 
   
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
 +
s8 get(const string &in, Object &out)
 +
u8 get(const string &in, Object[] &out)
 
s8 get_s8(const string &in)
 
s8 get_s8(const string &in)
 
u8 get_u8(const string &in)
 
u8 get_u8(const string &in)
Line 14: Line 16:
 
string get_string(const string &in)
 
string get_string(const string &in)
 
Vec2f get_Vec2f(const string &in)
 
Vec2f get_Vec2f(const string &in)
 +
position2di get_position2di(const string &in)
 
</syntaxhighlight>
 
</syntaxhighlight>
 
   
 
   

Latest revision as of 15:12, 31 January 2016

Retrieves a value of a certain type


s8 get(const string &in, Object &out)
u8 get(const string &in, Object[] &out)
s8 get_s8(const string &in)
u8 get_u8(const string &in)
s16 get_s16(const string &in)
u16 get_u16(const string &in)
s32 get_s32(const string &in)
u32 get_u32(const string &in)
f32 get_f32(const string &in)
bool get_bool(const string &in)
string get_string(const string &in)
Vec2f get_Vec2f(const string &in)
position2di get_position2di(const string &in)

Object method of: CBlob