cartobase  5.1.2
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’ More...
 
bool needed
 is this semantic attribute mandatory? More...
 
bool internal
 internal attributes are not written to disk More...
 

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.

◆ 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.

Member Data Documentation

◆ internal

bool carto::Semantic::internal

internal attributes are not written to disk

Definition at line 67 of file syntax.h.

◆ needed

bool carto::Semantic::needed

is this semantic attribute mandatory?

Definition at line 65 of file syntax.h.

◆ type

std::string carto::Semantic::type

type of semantic attribute, such as ‘float’

Definition at line 61 of file syntax.h.


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