cartobase 6.0.6
carto::Semantic Struct Reference

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

#include <cartobase/object/syntax.h>

Collaboration diagram for carto::Semantic:

Public Member Functions

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

Public Attributes

std::string type
 type of semantic attribute, such as ‘float’
 
bool needed
 is this semantic attribute mandatory?
 
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, needed, and type.

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

is this semantic attribute mandatory?

Definition at line 65 of file syntax.h.

Referenced by Semantic(), and Semantic().

◆ type

std::string carto::Semantic::type

type of semantic attribute, such as ‘float’

Definition at line 61 of file syntax.h.

Referenced by Semantic().


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