Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dbscStrings.h File Reference

File containing strings used by IOPC DBSC. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Defines

#define DBSC_PROGRAM_INFO   "\nIOPC DB Schema Creator v 1.0 - " __DATE__
#define DBSC_HELP_HINT   "Type 'iopc_dbsc -h' for help."
#define DBSC_HELP
#define IOPC_ERROR_PREFIX   "Fatal error: "
#define IOPC_WARNING_PREFIX   ""
#define DBSC_ERROR_NO_INPUT_FILE   "No input file specified."
#define DBSC_ERROR_CANNOT_OPEN_FILE_FOR_READING   "Cannot open file \"%s\" for reading."
#define DBSC_ERROR_CANNOT_OPEN_FILE_FOR_WRITING   "Cannot open file \"%s\" for writing."
#define DBSC_ERROR_MISSING_PARAMETER   "Missing parameter for option \"%s\"."
#define DBSC_ERROR_UNKNOWN_OPTION   "Invalid option \"%s\"."
#define DBSC_ERROR_TWO_FILES_GIVEN   "Invalid command line - two files given: \"%s\" and \"%s\"."
#define DBSC_WRN_CREATION_COMMENTS   "Option \"-g\" (generate comments into schema creation script) specified, but \"-c\" (generate schema creation script) not specified. Ignoring."
#define DBSC_ERROR_INCOMPATIBLE_COLUMN_TYPE   "Class \"%s\", attribute \"%s\": attribute of C++ type \"%s\" cannot be stored in column of type \"%s\". Recommended column type is \"%s\"."
#define DBSC_OID_GENERATION_SUPPORT_DESCRIPTION   "Support database structures for OID generation."
#define DBSC_CID_TABLE_DESCRIPTION   "Table used to translate C++ class name to class ID, which is used as C++ type identification in all other tables."
#define DBSC_MAIN_TABLE_DESCRIPTION   "Project main table - contains object identifiers of all projects' persistent objects and identification of their C++ classes."
#define DBSC_MSG_COLUMNS_DESCRIPTION   "Table %s - columns description:"
#define DBSC_MSG_OID_DESCRIPTION   " column \"%s\" is object identifier"
#define DBSC_MSG_CID_DESCRIPTION   " column \"%s\" specifies object's C++ class"
#define DBSC_MSG_COLUMN_DESCRIPTION   " column \"%s\" comes from attribute \"%s\" declared in class \"%s\""
#define DBSC_SIMPLE_VIEW_DESCRIPTION   "Class \"%s\" simple view - selects all instances of the class (but not instances of class descendants)."
#define DBSC_POLYMORPHIC_VIEW_DESCRIPTION   "Class \"%s\" polymorphic view - selects all instances of the class and of all its descendants."

Detailed Description

File containing strings used by IOPC DBSC.

Author:
Josef Troch (josef.troch@email.cz)
Date:
2003 - 2004

Define Documentation

#define DBSC_PROGRAM_INFO   "\nIOPC DB Schema Creator v 1.0 - " __DATE__
 

Message shown when IOPC DBSC is started.

#define DBSC_HELP_HINT   "Type 'iopc_dbsc -h' for help."
 

Message giving user advice how to get help.

#define DBSC_HELP
 

Value:

CStdString() +\
  "Usage: iopc_dbsc [options] mapping_file.xml\n" +\
  "\n" +\
  "  Options\n" +\
  "    -h             Display this help and exit\n" +\
  "    -c<filename>   Write schema creation script into <filename>.\n" +\
  "                   If <filename> is omitted \"create.sql\" will be used.\n" +\
  "    -d<filename>   Write schema drop script into <filename>.\n" +\
  "                   If <filename> is omitted \"drop.sql\" will be used.\n" +\
  "    -e<filename>   Write script to explain execution plans for getting data\n" +\
  "                   from class views.\n" +\
  "                   If <filename> is omitted \"explain.sql\" will be used.\n" +\
  "    -g             Generate comments into schema creation script.\n" +\
  "\n" +\
  "  If no options are given, \"-c -d\" is assumed." +\
  "\n"
Help - message describing usage of IOPC DBSC.

#define IOPC_ERROR_PREFIX   "Fatal error: "
 

Prefix of all error messages.

#define IOPC_WARNING_PREFIX   ""
 

Prefix of all warning messages.


Generated on Wed Aug 11 22:33:45 2004 for IOPC by Doxygen 1.3.6