PROJ C++ API
Static Public Member Functions | List of all members
osgeo::proj::util::NameFactory Class Reference

Factory for generic names. More...

#include <util.hpp>

Static Public Member Functions

static NameSpaceNNPtr createNameSpace (const GenericNameNNPtr &name, const PropertyMap &properties)
 Instanciate a NameSpace. More...
 
static LocalNameNNPtr createLocalName (const NameSpacePtr &scope, const std::string &name)
 Instanciate a LocalName. More...
 
static GenericNameNNPtr createGenericName (const NameSpacePtr &scope, const std::vector< std::string > &parsedNames)
 Instanciate a GenericName. More...
 

Detailed Description

Factory for generic names.

Remarks
Simplified version of NameFactory from GeoAPI

Member Function Documentation

GenericNameNNPtr osgeo::proj::util::NameFactory::createGenericName ( const NameSpacePtr scope,
const std::vector< std::string > &  parsedNames 
)
static

Instanciate a GenericName.

Parameters
scopescope.
parsedNamesthe components of the name.
Returns
a new GenericName.
LocalNameNNPtr osgeo::proj::util::NameFactory::createLocalName ( const NameSpacePtr scope,
const std::string &  name 
)
static

Instanciate a LocalName.

Parameters
scopescope.
namestring of the local name.
Returns
a new LocalName.
NameSpaceNNPtr osgeo::proj::util::NameFactory::createNameSpace ( const GenericNameNNPtr name,
const PropertyMap properties 
)
static

Instanciate a NameSpace.

Parameters
namename of the namespace.
propertiesProperties. Allowed keys are "separator" and "separator.head".
Returns
a new NameFactory.

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