g4tools
5.4.0
g4tools
tools
sg
sf_vec4f
Go to the documentation of this file.
1
// Copyright (C) 2010, Guy Barrand. All rights reserved.
2
// See the file tools.license for terms.
3
4
#ifndef tools_sg_sf_vec4f
5
#define tools_sg_sf_vec4f
6
7
#include "
sf_vec
"
8
9
#include "../lina/vec4f"
10
#include "../HEADER"
11
12
namespace
tools
{
13
namespace
sg {
14
15
class
sf_vec4f
:
public
sf_vec
<vec4f,float> {
16
typedef
sf_vec<vec4f,float>
_parent
;
17
TOOLS_HEADER
(
sf_vec4f
,
tools::sg::sf_vec4f
,
_parent
)
18
public
:
19
sf_vec4f
():
parent
(){}
20
sf_vec4f
(
const
vec4f
& a_v):
parent
(a_v){}
21
virtual
~sf_vec4f
(){}
22
public
:
23
sf_vec4f
(
const
sf_vec4f
& a_from):
parent
(a_from){}
24
sf_vec4f
&
operator=
(
const
sf_vec4f
& a_from){
25
parent::operator=
(a_from);
26
return
*
this
;
27
}
28
public
:
29
sf_vec4f
&
operator+=
(
const
vec4f
& a_value) {parent::operator+=(a_value);
return
*
this
;}
30
public
:
31
void
set_value
(
float
a_0,
float
a_1,
float
a_2,
float
a_3) {
32
value
(
vec4f
(a_0,a_1,a_2,a_3));
33
}
34
};
35
36
}}
37
38
#endif
tools::sg::sf_vec4f::operator+=
sf_vec4f & operator+=(const vec4f &a_value)
Definition:
sf_vec4f:29
tools::sg::field
Definition:
field:25
tools::sg::sf_vec4f::sf_vec4f
sf_vec4f(const vec4f &a_v)
Definition:
sf_vec4f:20
tools::sg::sf_vec4f::sf_vec4f
sf_vec4f(const sf_vec4f &a_from)
Definition:
sf_vec4f:23
tools::sg::sf_vec4f::~sf_vec4f
virtual ~sf_vec4f()
Definition:
sf_vec4f:21
tools::sg::sf_vec
Definition:
sf_vec:15
tools::sg::field::operator=
field & operator=(const field &)
Definition:
field:57
TOOLS_HEADER
#define TOOLS_HEADER(a__class, a__sclass, a__parent)
Definition:
HEADER:10
sf_vec
tools::sg::sf_vec4f::sf_vec4f
sf_vec4f()
Definition:
sf_vec4f:19
tools
inlined C code : ///////////////////////////////////
Definition:
aida_ntuple:26
tools::sg::sf_vec4f::set_value
void set_value(float a_0, float a_1, float a_2, float a_3)
Definition:
sf_vec4f:31
tools::sg::bsf< vec4f >::value
vec4f & value()
Definition:
bsf:98
tools::sg::sf_vec4f
Definition:
sf_vec4f:15
tools::vec4f
Definition:
vec4f:13
tools::sg::sf_vec4f::operator=
sf_vec4f & operator=(const sf_vec4f &a_from)
Definition:
sf_vec4f:24
Generated by
1.8.20