libSBOL  2.3.3
Classes | Functions
config.h File Reference

Global library options and configuration methods. More...

#include "sbolerror.h"
#include "constants.h"
#include <string>
#include <map>
#include <vector>
#include <curl/curl.h>
#include <iostream>
Include dependency graph for config.h:
This graph shows which files directly or indirectly include this file:

Classes

class  Config
 A class which contains global configuration variables for the libSBOL environment. Intended to be used like a static class, configuration variables are accessed through the Config::setOptions and Config::getOptions methods. More...
 

Functions

SBOL_DECLSPEC void setHomespace (std::string ns)
 Global methods. More...
 
SBOL_DECLSPEC std::string getHomespace ()
 Get the current default namespace for autocreation of URIs when a new SBOL object is created.
 
SBOL_DECLSPEC int hasHomespace ()
 Checks if a valid default namespace has been defined.
 
SBOL_DECLSPEC void setFileFormat (std::string file_format)
 Sets file format to use.
 
std::string SBOL_DECLSPEC getFileFormat ()
 Returns currently accepted file format.
 

Detailed Description

Global library options and configuration methods.

Author
Bryan Bartley bartl.nosp@m.eyba.nosp@m.@sbol.nosp@m.stan.nosp@m.dard..nosp@m.org

Function Documentation

◆ setHomespace()

void setHomespace ( std::string  ns)

Global methods.

Set the default namespace for autocreation of URIs when a new SBOL object is created