cartobase 6.0.20
carto::Semantic Struct Reference

Specify properties for semantic attributes - mainly for I/O purposes. More...

#include <cartobase/object/syntax.h>

Public Member Functions

 Semantic ()
 Semantic (const std::string &t, bool need=false, bool intern=false)

Public Attributes

bool needed
 type of semantic attribute, such as `float' */ std::string type;
bool internal
 internal attributes are not written to disk

Detailed Description

Specify properties for semantic attributes - mainly for I/O purposes.

Definition at line 54 of file syntax.h.

Constructor & Destructor Documentation

◆ Semantic() [1/2]

carto::Semantic::Semantic ( )
inline

Definition at line 86 of file syntax.h.

References internal, and needed.

◆ Semantic() [2/2]

carto::Semantic::Semantic ( const std::string & t,
bool need = false,
bool intern = false )
inline

Definition at line 92 of file syntax.h.

References internal, and needed.

Member Data Documentation

◆ internal

bool carto::Semantic::internal

internal attributes are not written to disk

Definition at line 67 of file syntax.h.

Referenced by Semantic(), and Semantic().

◆ needed

bool carto::Semantic::needed

type of semantic attribute, such as `float' */ std::string type;

/** is this semantic attribute mandatory?

Definition at line 65 of file syntax.h.

Referenced by Semantic(), and Semantic().


The documentation for this struct was generated from the following file: