coan  6.0.1
A C/C++ Configuration Analyzer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
options.h File Reference
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  options
 Manages coan's commandline arguments. More...
 

Enumerations

enum  discard_policy { DISCARD_DROP, DISCARD_BLANK, DISCARD_COMMENT }
 Symbolic constants denoting policies for discarding lines. More...
 
enum  contradiction_policy { CONTRADICTION_DELETE, CONTRADICTION_COMMENT, CONTRADICTION_ERROR }
 Symbolic constants denoting policies for handling contradictions. More...
 
enum  command_code {
  CMD_HELP = 1, CMD_VERSION, CMD_SOURCE, CMD_SYMBOLS,
  CMD_INCLUDES, CMD_DEFS, CMD_PRAGMAS, CMD_ERRORS,
  CMD_LINES, CMD_DIRECTIVES, CMD_SPIN
}
 Sequential symbolic constants for coan commands. More...
 

Detailed Description

This file defines struct options

Definition in file options.h.

Enumeration Type Documentation

Sequential symbolic constants for coan commands.

Enumerator
CMD_HELP 

The help command.

CMD_VERSION 

The version command.

CMD_SOURCE 

The source command.

CMD_SYMBOLS 

The symbols command.

CMD_INCLUDES 

The includes command.

CMD_DEFS 

The defs command.

CMD_PRAGMAS 

The pragmas command.

CMD_ERRORS 

The errors command.

CMD_LINES 

The line command.

CMD_DIRECTIVES 

The directives command.

CMD_SPIN 

the spin command

Definition at line 72 of file options.h.

Symbolic constants denoting policies for handling contradictions.

Symbolic constants denoting policies for handling contradictions between commandline --define and --undef options and in-source #define and #undef directives.

Enumerator
CONTRADICTION_DELETE 

Delete a contradicted directive.

CONTRADICTION_COMMENT 

Comment out a contradicted directive.

CONTRADICTION_ERROR 

Replace a contradicted directive with an #error

Definition at line 62 of file options.h.

Symbolic constants denoting policies for discarding lines.

Enumerator
DISCARD_DROP 

Drop discarded lines.

DISCARD_BLANK 

Blank discarded lines.

DISCARD_COMMENT 

Comment discarded lines.

Definition at line 50 of file options.h.