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

Public Member Functions

 sf_vec4f ()
 
 sf_vec4f (const vec4f &a_v)
 
virtual ~sf_vec4f ()
 
 sf_vec4f (const sf_vec4f &a_from)
 
sf_vec4foperator= (const sf_vec4f &a_from)
 
sf_vec4foperator+= (const vec4f &a_value)
 
void set_value (float a_0, float a_1, float a_2, float a_3)
 
- Public Member Functions inherited from tools::sg::sf_vec< vec4f, 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 vec4f &a_value)
 
 sf_vec (const sf_vec &a_from)
 
virtual ~sf_vec ()
 
sf_vecoperator= (const sf_vec &a_from)
 
sf_vecoperator= (const vec4f &a_value)
 
sf_vecoperator+= (const vec4f &a_value)
 
- Public Member Functions inherited from tools::sg::bsf< vec4f >
 bsf (const vec4f &a_value)
 
 bsf (const bsf &a_from)
 
virtual ~bsf ()
 
bsfoperator= (const bsf &a_from)
 
bsfoperator= (const vec4f &a_value)
 
bool operator== (const bsf &a_from) const
 
bool operator== (const vec4f &a_value) const
 
bool operator!= (const bsf &a_from) const
 
bool operator!= (const vec4f &a_value) const
 
 operator const vec4f & () const
 
 operator vec4f ()
 
vec4fvalue ()
 
const vec4fvalue () const
 
void value (const vec4f &a_value)
 
void value_no_cmp (const vec4f &a_value)
 
void setValue (const vec4f &a_value)
 
const vec4fgetValue () 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< vec4f, float >
static const std::string & s_class ()
 
- Static Public Member Functions inherited from tools::sg::bsf< vec4f >
static const std::string & s_class ()
 
- Protected Member Functions inherited from tools::sg::bsf< vec4f >
 bsf ()
 
- Protected Member Functions inherited from tools::sg::field
 field ()
 
 field (const field &)
 
fieldoperator= (const field &)
 
- Protected Attributes inherited from tools::sg::bsf< vec4f >
vec4f m_value
 
- Protected Attributes inherited from tools::sg::field
bool m_touched
 

Detailed Description

Definition at line 15 of file sf_vec4f.

Constructor & Destructor Documentation

◆ sf_vec4f() [1/3]

tools::sg::sf_vec4f::sf_vec4f ( )
inline

Definition at line 19 of file sf_vec4f.

19 :parent(){}

◆ sf_vec4f() [2/3]

tools::sg::sf_vec4f::sf_vec4f ( const vec4f a_v)
inline

Definition at line 20 of file sf_vec4f.

20 :parent(a_v){}

◆ ~sf_vec4f()

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

Definition at line 21 of file sf_vec4f.

21 {}

◆ sf_vec4f() [3/3]

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

Definition at line 23 of file sf_vec4f.

23 :parent(a_from){}

Member Function Documentation

◆ operator+=()

sf_vec4f& tools::sg::sf_vec4f::operator+= ( const vec4f a_value)
inline

Definition at line 29 of file sf_vec4f.

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

◆ operator=()

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

Definition at line 24 of file sf_vec4f.

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

◆ set_value()

void tools::sg::sf_vec4f::set_value ( float  a_0,
float  a_1,
float  a_2,
float  a_3 
)
inline

Definition at line 31 of file sf_vec4f.

31  {
32  value(vec4f(a_0,a_1,a_2,a_3));
33  }

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< vec4f >::value
vec4f & value()
Definition: bsf:98