All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::se::ParameterValue Class Reference

The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters. More...

#include <ParameterValue.h>

Inheritance diagram for te::se::ParameterValue:
te::se::SvgParameter

Classes

struct  Parameter
 Data parameter. More...
 

Public Member Functions

ParameterValueclone () const
 It creates a new copy of this object. More...
 
Initializer Methods

Methods related to instantiation and destruction.

 ParameterValue ()
 It initializes an empty ParameterValue. More...
 
 ParameterValue (const std::string &value)
 It initializes a new ParameterValue based on given literal value. More...
 
 ParameterValue (const ParameterValue &rhs)
 Copy constructor. More...
 
virtual ~ParameterValue ()
 Virtual destructor. More...
 
Accessors

Methods for retrieving and setting properties.

void add (Parameter *p)
 
void add (const std::string &value)
 
size_t getNParameters () const
 
const ParametergetParameter (size_t i) const
 

Private Attributes

std::vector< Parameter * > m_parameters
 Regular text may be mixed and WFS-Filter expressions to give values for SE graphic parameters. (Optional) More...
 

Detailed Description

The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters.

A "mixed" element-content model is used with textual substitution for values.

See also
SvgParameter, LineSymbolizer, GraphicStroke, Halo, MapItem, Interpolate, InterpolationPoint

Definition at line 54 of file ParameterValue.h.

Constructor & Destructor Documentation

te::se::ParameterValue::ParameterValue ( )

It initializes an empty ParameterValue.

Definition at line 55 of file ParameterValue.cpp.

Referenced by clone().

te::se::ParameterValue::ParameterValue ( const std::string &  value)

It initializes a new ParameterValue based on given literal value.

Parameters
valueLiteral value for the new ParamaterValue.
Note
A new Parameter with a Filter Literal Expression will be created and added to ParamaterValue.

Definition at line 59 of file ParameterValue.cpp.

References add().

te::se::ParameterValue::ParameterValue ( const ParameterValue rhs)

Copy constructor.

Parameters
rhsThe other parameter value.

Definition at line 64 of file ParameterValue.cpp.

References add(), and m_parameters.

te::se::ParameterValue::~ParameterValue ( )
virtual

Virtual destructor.

Definition at line 70 of file ParameterValue.cpp.

References te::common::FreeContents(), and m_parameters.

Member Function Documentation

void te::se::ParameterValue::add ( Parameter p)

Definition at line 75 of file ParameterValue.cpp.

References m_parameters.

Referenced by add(), and ParameterValue().

void te::se::ParameterValue::add ( const std::string &  value)

Definition at line 80 of file ParameterValue.cpp.

References add(), and te::se::ParameterValue::Parameter::m_expression.

size_t te::se::ParameterValue::getNParameters ( ) const

Definition at line 87 of file ParameterValue.cpp.

References m_parameters.

Referenced by te::se::GetString(), and te::se::serialize::Save().

const te::se::ParameterValue::Parameter * te::se::ParameterValue::getParameter ( size_t  i) const

Definition at line 92 of file ParameterValue.cpp.

References m_parameters.

Referenced by te::se::GetString(), and te::se::serialize::Save().

Member Data Documentation

std::vector<Parameter*> te::se::ParameterValue::m_parameters
private

Regular text may be mixed and WFS-Filter expressions to give values for SE graphic parameters. (Optional)

Definition at line 120 of file ParameterValue.h.

Referenced by add(), getNParameters(), getParameter(), ParameterValue(), and ~ParameterValue().


The documentation for this class was generated from the following files: