summaryrefslogtreecommitdiff
path: root/cli/header.cxx
AgeCommit message (Collapse)AuthorFilesLines
2012-06-21Generate "direct access" modifier in addition to "setter"Boris Kolpackov1-0/+6
2012-06-21Make default constructor public for non-abstract classesBoris Kolpackov1-3/+7
2012-06-15Add support for specifying output stream type (--stream-type)Boris Kolpackov1-1/+1
2012-05-10Implement option class inheritanceBoris Kolpackov1-46/+104
For now multiple, non-virtual inheritance is supported. An option class can now also be declared abstract using the class c = 0 {...}; syntax. New option, --exclude-base, controls whether base class information is present in usage and documentation.
2012-05-10Add support for options file inclusionBoris Kolpackov1-2/+26
New include-path prefixes, c++: and cli:, are now recognized (e.g., include <cli:foo>;). Without a prefix, the include declarations is considered to be c++-include unless the path ends with the .cli extension. The cli-included files are loaded and parsed. Currently, only inclusion relative to the current file is supported. Duplicate inclusions are detected and ignored based on the absolute filesystem path. If a file cli-includes another file, then the runtime code is assumed to come from the included file and is not generated.
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-11-19Add option description that can be examined at runtime.Boris Kolpackov1-1/+12
New option: --generate-description.
2010-09-14Implement the --cli-namespace optionBoris Kolpackov1-3/+3
2010-06-02Implement generation of specifier functions (--generate-specifier)Boris Kolpackov1-0/+17
These functions determine whether the option was specified on the command line. New test: specifier.
2010-01-01Update copyrightBoris Kolpackov1-1/+1
2009-12-10Scanner-based parsing with support for element erasingBoris Kolpackov1-4/+13
Also implement argv_file_scanner which provides support for reading command line arguments from the argv array as well as files specified with command line options. New examples: file. New tests: ctor, erase, file.
2009-11-28Use a scanner interface instead of argc/argvBoris Kolpackov1-4/+2
This will allow supporting other sources of options, for example, an option file.
2009-11-22Implement option value modifiers generationBoris Kolpackov1-1/+6
2009-11-08Implement usage generationBoris Kolpackov1-1/+11
Also migrate the CLI compiler usage handling to the auto-generated version.
2009-10-18Use consistent const placementBoris Kolpackov1-1/+1
2009-09-27Generate parsing constructors and parsing codeBoris Kolpackov1-3/+61
Also generate some runtime support code such exceptions, value parsers, etc.
2009-09-20Generate classes, accessors and data membersBoris Kolpackov1-0/+76
2009-09-20Add header, inline, and source generatorsBoris Kolpackov1-0/+36
All they currently do is output the namespace structure plus the included C++ files for header.