anatomist  5.1.2
3D neuroimaging data viewer
anatomist::SyntaxRepository Class Reference

#include <anatomist/application/syntax.h>

Collaboration diagram for anatomist::SyntaxRepository:

Public Member Functions

 SyntaxRepository ()
 
virtual ~SyntaxRepository ()
 

Static Public Member Functions

static carto::SyntaxSetexportedSyntax ()
 
static carto::SyntaxSetinternalSyntax ()
 
static void scanExportedSyntaxes (const std::string &directory="")
 
static void scanInternalSyntaxes (const std::string &directory="")
 
static void scanSyntaxes (carto::SyntaxSet &ss, const std::string &directory)
 
static bool readSyntax (carto::SyntaxSet &ss, const std::string &filename, const std::string &directory)
 
static void scanSyntaxesInDir (carto::SyntaxSet &ss, const std::string &directory)
 
static void addPath (const std::string &directory)
 
static void addPath (const std::vector< std::string > &dirs)
 
static void setPath (const std::string &directory)
 
static void setPath (const std::vector< std::string > &dirs)
 
static void mergeSyntaxes (carto::SyntaxSet &dest, const carto::SyntaxSet &src, int warn_level=1)
 
static SyntaxRepositoryinstance ()
 
static bool tryReadSyntax (carto::SyntaxSet &ss, const std::string &file)
 

Protected Attributes

carto::SyntaxSet _exported
 
carto::SyntaxSet _internal
 
std::vector< std::string > _path
 

Static Protected Attributes

static SyntaxRepository_syntaxRep
 

Detailed Description

Definition at line 46 of file syntax.h.

Constructor & Destructor Documentation

◆ SyntaxRepository()

anatomist::SyntaxRepository::SyntaxRepository ( )

◆ ~SyntaxRepository()

virtual anatomist::SyntaxRepository::~SyntaxRepository ( )
virtual

Member Function Documentation

◆ addPath() [1/2]

static void anatomist::SyntaxRepository::addPath ( const std::string &  directory)
static

◆ addPath() [2/2]

static void anatomist::SyntaxRepository::addPath ( const std::vector< std::string > &  dirs)
static

◆ exportedSyntax()

static carto::SyntaxSet& anatomist::SyntaxRepository::exportedSyntax ( )
static

◆ instance()

static SyntaxRepository& anatomist::SyntaxRepository::instance ( )
static

◆ internalSyntax()

static carto::SyntaxSet& anatomist::SyntaxRepository::internalSyntax ( )
static

◆ mergeSyntaxes()

static void anatomist::SyntaxRepository::mergeSyntaxes ( carto::SyntaxSet dest,
const carto::SyntaxSet src,
int  warn_level = 1 
)
static

◆ readSyntax()

static bool anatomist::SyntaxRepository::readSyntax ( carto::SyntaxSet ss,
const std::string &  filename,
const std::string &  directory 
)
static

◆ scanExportedSyntaxes()

static void anatomist::SyntaxRepository::scanExportedSyntaxes ( const std::string &  directory = "")
static

◆ scanInternalSyntaxes()

static void anatomist::SyntaxRepository::scanInternalSyntaxes ( const std::string &  directory = "")
static

◆ scanSyntaxes()

static void anatomist::SyntaxRepository::scanSyntaxes ( carto::SyntaxSet ss,
const std::string &  directory 
)
static

◆ scanSyntaxesInDir()

static void anatomist::SyntaxRepository::scanSyntaxesInDir ( carto::SyntaxSet ss,
const std::string &  directory 
)
static

◆ setPath() [1/2]

static void anatomist::SyntaxRepository::setPath ( const std::string &  directory)
static

◆ setPath() [2/2]

static void anatomist::SyntaxRepository::setPath ( const std::vector< std::string > &  dirs)
static

◆ tryReadSyntax()

static bool anatomist::SyntaxRepository::tryReadSyntax ( carto::SyntaxSet ss,
const std::string &  file 
)
static

Member Data Documentation

◆ _exported

carto::SyntaxSet anatomist::SyntaxRepository::_exported
protected

Definition at line 80 of file syntax.h.

◆ _internal

carto::SyntaxSet anatomist::SyntaxRepository::_internal
protected

Definition at line 81 of file syntax.h.

◆ _path

std::vector<std::string> anatomist::SyntaxRepository::_path
protected

Definition at line 82 of file syntax.h.

◆ _syntaxRep

SyntaxRepository* anatomist::SyntaxRepository::_syntaxRep
staticprotected

Definition at line 79 of file syntax.h.


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