|
hgl 0.5.25
A compiler/interpreter suite for developing images
|
Classes and methods providing commonly used utilites. More...
Classes | |
| class | HGL::Common::Application |
| Base class of a typical HGL Suite application. More... | |
| class | HGL::Type::DefaultProjectFactory |
| Convenience class for implementing HGL::Type::IProjectFactory. More... | |
| interface | HGL::Common::IApplication |
| Interface to a typical HGL Suite application. More... | |
| interface | HGL::Common::IApplicationObserver |
| Interface to provide access to HGL::Common::Application. More... | |
| interface | HGL::Common::IParser< ProjectInterface, Factory > |
| Interface to a parsing subsystem. More... | |
| interface | HGL::Type::IProjectFactory |
| Interface to a factory creating types. More... | |
| class | HGL::Common::Logger |
Console logger (to std::wclog) More... | |
| class | HGL::Common::PoptTableBuilder |
| Builds a POPT table structure. More... | |
| class | HGL::Common::Q24 |
| Class to represent a float as 24bit integer in the Q number format. More... | |
| class | HGL::Common::RAIIFactory< T, arrayDel, Container, capacity > |
| Template to implement a RAII factory. More... | |
| class | HGL::Common::RegexInitializer |
| Initializes an extended regular expression. More... | |
| class | HGL::Common::Singleton< T > |
| Template providing the singleton pattern. More... | |
| class | HGL::Common::ThreadPool< Worker, Task, NUM_THREADS > |
| Template providing a thread pool for asynchronous tasks. More... | |
| class | HGL::Common::URI |
| Class to access files locally and remote. More... | |
| class | HGL::Common::Util |
| Miscellaneous utility functions. More... | |
Functions | |
| template<class ProjectInterface , class Factory > | |
| ProjectInterface * | HGL::Common::createProject (const std::string &progdesc, const std::string &version, const std::string &buildnode, const std::string &buildhost, const std::string &target, const std::string &builddate, int argc, const char **argv, const HGL::Common::IParser< ProjectInterface, Factory > *const parser, Factory *const fac, struct::poptOption *const progOpts, char **const outputFilename, const char *suffix, ProjectInterface *const lib=0L) throw (HGL::Exception::ParserException, HGL::Exception::IOException, HGL::Exception::PoptExitException) |
| Creates a project. More... | |
| template<class ProjectInterface , class Factory > | |
| ProjectInterface * | HGL::Common::createProject (const HGL::Common::IParser< ProjectInterface, Factory > *const parser, Factory *const fac, HGL::Common::URI *const infile, ProjectInterface *const lib=0L) throw (HGL::Exception::ParserException, HGL::Exception::IOException) |
Classes and methods providing commonly used utilites.
| ProjectInterface * HGL::Common::createProject | ( | const std::string & | progdesc, |
| const std::string & | version, | ||
| const std::string & | buildnode, | ||
| const std::string & | buildhost, | ||
| const std::string & | target, | ||
| const std::string & | builddate, | ||
| int | argc, | ||
| const char ** | argv, | ||
| const HGL::Common::IParser< ProjectInterface, Factory > *const | parser, | ||
| Factory *const | fac, | ||
| struct::poptOption *const | progOpts, | ||
| char **const | outputFilename, | ||
| const char * | suffix, | ||
| ProjectInterface *const | lib = 0L |
||
| ) | |||
| throw | ( | HGL::Exception::ParserException, | |
| HGL::Exception::IOException, | |||
| HGL::Exception::PoptExitException | |||
| ) | |||
Creates a project.
Parses and creates the internal tree of a HGL Suite project
| ProjectInterface | type of the project interface |
| Factory | type of the project factory |
| progdesc | name of the component, i.e. interpreter, compiler, svg2hgl |
| version | version of the component |
| buildnode | name of the node where it was built |
| buildhost | the platform on which the HGL Suite was compiled |
| target | the platform for which the HGL Suite was compiled |
| builddate | date of the build |
| argc | the comandline argument count |
| argv | the command line arguments |
| parser | the parser to use for parsing the input |
| fac | the factory to use for building the types |
| progOpts | tbw |
| outputFilename | the name of the output file |
| suffix | suffix to append to outputFilename if omitted or NULL |
| lib | the stdlib or 0L if the project is the stdlib itself |
| ProjectInterface * HGL::Common::createProject | ( | const HGL::Common::IParser< ProjectInterface, Factory > *const | parser, |
| Factory *const | fac, | ||
| HGL::Common::URI *const | infile, | ||
| ProjectInterface *const | lib = 0L |
||
| ) | |||
| throw | ( | HGL::Exception::ParserException, | |
| HGL::Exception::IOException | |||
| ) | |||
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
1.8.5