24 Group(
const std::string &name =
"",
const std::string &description =
"");
40 void write(std::fstream &f,
int groupIdx, std::streampos &dataStartPosition)
const;
67 const std::string&
name()
const;
73 void name(
const std::string name);
194 const std::vector<ezc3d::ParametersNS::GroupNS::Parameter>&
parameters()
const;
Group holder of C3D parameters.
void unlock()
Set the locking status of the group to false.
size_t nbParameters() const
Get the number of parameters.
Group of parameter of a C3D file.
size_t parameterIdx(std::string parameterName) const
Get the index of a parameter in the group.
Declaration of Parameter class.
std::vector< ezc3d::ParametersNS::GroupNS::Parameter > _parameters
Holder for the parameters of the group.
const std::string & description() const
Get the description of the group.
void print() const
Print the group by calling the print method of all the parameters.
std::string _name
The name of the group.
const ezc3d::ParametersNS::GroupNS::Parameter & parameter(size_t idx) const
Get a particular parameter of index idx from the group.
void write(std::fstream &f, int groupIdx, std::streampos &dataStartPosition) const
Write the group to an opened file by calling the write method of all the parameters.
Main class for C3D holder.
const std::string & name() const
Get the name of the group.
const std::vector< ezc3d::ParametersNS::GroupNS::Parameter > & parameters() const
Get all the parameter from the group.
Group(const std::string &name="", const std::string &description="")
Create an empty group of parameter.
std::string _description
The description of the group.
bool isLocked() const
Get the locking status of the group.
bool _isLocked
The lock status of the group.
ezc3d::ParametersNS::GroupNS::Parameter & parameter_nonConst(size_t idx)
Get a particular parameter of index idx from the group in order to be modified by the caller...
int read(ezc3d::c3d &c3d, const Parameters ¶ms, std::fstream &file, int nbCharInName)
Read and store a group of parameter from an opened C3D file.
void lock()
Set the locking status of the group to true.