libSBOL
2.3.3
|
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>
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. | |
Global library options and configuration methods.
void setHomespace | ( | std::string | ns | ) |
Global methods.
Set the default namespace for autocreation of URIs when a new SBOL object is created