g4tools  5.4.0
Public Member Functions | List of all members
tools::sg::sf_vec2f Class Reference
Inheritance diagram for tools::sg::sf_vec2f:
Inheritance graph
[legend]
Collaboration diagram for tools::sg::sf_vec2f:
Collaboration graph
[legend]

Public Member Functions

 sf_vec2f ()
 
 sf_vec2f (const vec2f &a_v)
 
virtual ~sf_vec2f ()
 
 sf_vec2f (const sf_vec2f &a_from)
 
sf_vec2foperator= (const sf_vec2f &a_from)
 
sf_vec2foperator+= (const vec2f &a_value)
 
void setValue (const vec2f &a_v)
 
void setValue (float a_0, float a_1)
 
- Public Member Functions inherited from tools::sg::sf_vec< vec2f, float >
virtual void * cast (const std::string &a_class) const
 
virtual const std::string & s_cls () const
 
virtual bool write (io::iwbuf &a_buffer)
 
virtual bool read (io::irbuf &a_buffer)
 
virtual bool dump (std::ostream &a_out)
 
virtual bool s_value (std::string &a_s) const
 
virtual bool s2value (const std::string &a_s)
 
 sf_vec ()
 
 sf_vec (const vec2f &a_value)
 
 sf_vec (const sf_vec &a_from)
 
virtual ~sf_vec ()
 
sf_vecoperator= (const sf_vec &a_from)
 
sf_vecoperator= (const vec2f &a_value)
 
sf_vecoperator+= (const vec2f &a_value)
 
- Public Member Functions inherited from tools::sg::bsf< vec2f >
 bsf (const vec2f &a_value)
 
 bsf (const bsf &a_from)
 
virtual ~bsf ()
 
bsfoperator= (const bsf &a_from)
 
bsfoperator= (const vec2f &a_value)
 
bool operator== (const bsf &a_from) const
 
bool operator== (const vec2f &a_value) const
 
bool operator!= (const bsf &a_from) const
 
bool operator!= (const vec2f &a_value) const
 
 operator const vec2f & () const
 
 operator vec2f ()
 
vec2fvalue ()
 
const vec2fvalue () const
 
void value (const vec2f &a_value)
 
void value_no_cmp (const vec2f &a_value)
 
void setValue (const vec2f &a_value)
 
const vec2fgetValue () const
 
- Public Member Functions inherited from tools::sg::field
virtual const std::string & s_cls () const =0
 
virtual ~field ()
 
void touch ()
 
bool touched () const
 
void reset_touched ()
 

Additional Inherited Members

- Static Public Member Functions inherited from tools::sg::sf_vec< vec2f, float >
static const std::string & s_class ()
 
- Static Public Member Functions inherited from tools::sg::bsf< vec2f >
static const std::string & s_class ()
 
- Protected Member Functions inherited from tools::sg::bsf< vec2f >
 bsf ()
 
- Protected Member Functions inherited from tools::sg::field
 field ()
 
 field (const field &)
 
fieldoperator= (const field &)
 
- Protected Attributes inherited from tools::sg::bsf< vec2f >
vec2f m_value
 
- Protected Attributes inherited from tools::sg::field
bool m_touched
 

Detailed Description

Definition at line 15 of file sf_vec2f.

Constructor & Destructor Documentation

◆ sf_vec2f() [1/3]

tools::sg::sf_vec2f::sf_vec2f ( )
inline

Definition at line 19 of file sf_vec2f.

19 :parent(){}

◆ sf_vec2f() [2/3]

tools::sg::sf_vec2f::sf_vec2f ( const vec2f a_v)
inline

Definition at line 20 of file sf_vec2f.

20 :parent(a_v){}

◆ ~sf_vec2f()

virtual tools::sg::sf_vec2f::~sf_vec2f ( )
inlinevirtual

Definition at line 21 of file sf_vec2f.

21 {}

◆ sf_vec2f() [3/3]

tools::sg::sf_vec2f::sf_vec2f ( const sf_vec2f a_from)
inline

Definition at line 23 of file sf_vec2f.

23 :parent(a_from){}

Member Function Documentation

◆ operator+=()

sf_vec2f& tools::sg::sf_vec2f::operator+= ( const vec2f a_value)
inline

Definition at line 29 of file sf_vec2f.

29 {parent::operator+=(a_value);return *this;}

◆ operator=()

sf_vec2f& tools::sg::sf_vec2f::operator= ( const sf_vec2f a_from)
inline

Definition at line 24 of file sf_vec2f.

24  {
25  parent::operator=(a_from);
26  return *this;
27  }

◆ setValue() [1/2]

void tools::sg::sf_vec2f::setValue ( const vec2f a_v)
inline

Definition at line 31 of file sf_vec2f.

31 {value(a_v);}

◆ setValue() [2/2]

void tools::sg::sf_vec2f::setValue ( float  a_0,
float  a_1 
)
inline

Definition at line 32 of file sf_vec2f.

32 {value(vec2f(a_0,a_1));}

The documentation for this class was generated from the following file:
tools::sg::field::operator=
field & operator=(const field &)
Definition: field:57
tools::sg::bsf< vec2f >::value
vec2f & value()
Definition: bsf:98