g4tools
5.4.0
|
Public Types | |
typedef std::vector< T >::iterator | it_t |
Public Member Functions | |
virtual void * | cast (const std::string &a_class) const |
virtual const std::string & | s_cls () const |
bmf () | |
bmf (const T &a_value) | |
bmf (const std::vector< T > &a_v) | |
virtual | ~bmf () |
bmf (const bmf &a_from) | |
bmf & | operator= (const bmf &a_from) |
bmf & | operator= (const std::vector< T > &a_from) |
bool | operator== (const bmf &a_from) const |
bool | operator!= (const bmf &a_from) const |
const T & | operator[] (size_t a_index) const |
T & | operator[] (size_t a_index) |
size_t | size () const |
bool | empty () const |
const std::vector< T > & | values () const |
std::vector< T > & | values () |
void | add (const T &a_value) |
void | add (const std::vector< T > &a_vals) |
void | add_allocated (size_t &a_pos, const T &a_1, const T &a_2, const T &a_3) |
void | insert (const it_t &a_it, const T &a_value) |
bool | set_value (size_t a_index, const T &a_value) |
bool | get_value (size_t a_index, T &a_value) |
void | clear () |
void | set_values (const std::vector< T > &a_values) |
void | set_value (const T &a_value) |
bool | setValues (size_t a_index, size_t a_num, const T *a_vs) |
bool | set1Value (size_t a_index, const T &a_value) |
bool | setValue (const T &a_value) |
bmf & | operator= (const T &a_v) |
size_t | getNum () const |
T * | getValues (size_t a_start) |
Public Member Functions inherited from tools::sg::field | |
virtual bool | write (io::iwbuf &)=0 |
virtual bool | read (io::irbuf &)=0 |
virtual bool | dump (std::ostream &)=0 |
virtual bool | s_value (std::string &) const =0 |
virtual bool | s2value (const std::string &)=0 |
virtual | ~field () |
void | touch () |
bool | touched () const |
void | reset_touched () |
Static Public Member Functions | |
static const std::string & | s_class () |
Protected Attributes | |
std::vector< T > | m_values |
Protected Attributes inherited from tools::sg::field | |
bool | m_touched |
Additional Inherited Members | |
Protected Member Functions inherited from tools::sg::field | |
field () | |
field (const field &) | |
field & | operator= (const field &) |
typedef std::vector<T>::iterator tools::sg::bmf< T >::it_t |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from tools::sg::field.
Reimplemented in tools::sg::mf_std_vec< T >, tools::sg::mf_std_vec< float >, tools::sg::mf_std_vec< unichar >, tools::sg::mf_vec< T, TT >, tools::sg::mf_vec< tools::vec3f, float >, tools::sg::mf_vec< tools::vec2f, float >, tools::sg::mf_enum< T >, tools::sg::mf_enum< unit_type >, tools::sg::mf< T >, and tools::sg::mf< float >.
Definition at line 30 of file bmf.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinevirtual |
Implements tools::sg::field.
Reimplemented in tools::sg::mf_std_vec< float >, tools::sg::mf_std_vec< unichar >, tools::sg::mf_vec< T, TT >, tools::sg::mf_vec< tools::vec3f, float >, tools::sg::mf_vec< tools::vec2f, float >, tools::sg::mf_enum< T >, tools::sg::mf_enum< unit_type >, tools::sg::mf< T >, and tools::sg::mf< float >.
Definition at line 34 of file bmf.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |