cppumaker

The cppumaker generates a C++ representation for idl types. The cppumaker works on a typelibrary which is generated by the unoidl. It generates the output for all specified types and for all types the specified types depends on.

cppumaker [-options] file_1 ... file_n

Options:

-O<path>
path describes the root directory for the generated output. The output directory tree is generated under this directory.
-T<name>
name specifies a type or a list of types. The output for this [t1;...] type is generated. If no '-T' option is specified, then output for all types is generated.
-B<name>
name specifies the base node. All types are searched under this node. Default is the root '/' of the registry files.
-L|-C
In general the cppumaker tool generates getCppuType() functions in three ways.

  1. no option (default)
    This generates header in the way, that UNO runs correctly as long as:
    -- one compiler compiled all code (no bridging needed for inter component communication)
    -- no marschalling is needed (no bridging needed for inter process communication)
    -- no scripting is needed (in general this needs full type description support)
  2. -L (_ONLY_ usable on Windows!)
    This options generated the shortest getCppuType() functions, but needs a running type description manager (+provider) reading all type information from the applicat.rdb! ==> !! Cannot be used at setup startup, because no applicat.rdb is involved at this early stage!!
  3. -C (fully comprehensive type information)
    This options generates the longest form of getCppuType() functions, including a comprehensive description of a type, thus there is no need for a type description manager (+provider) reading types from applicat.rdb:
    -- limitation: only previously used types are provided by the runtime (i.e., only types which were previously registered due to a getCppuType() call are accessable by name)

So please keep these limitations in mind, if you are not sure that there is a running type description manager (+provider) reading from applicat.rdb.
-G
generate only target files which does not exists.
-Gc
generate only target files which content will be changed.
 

Legal Notices