reflex

Reflex Annotations

Philippe Bourgau (Murex) has added support for annotations. It is implemented in the development / feature branch of Reflex (i.e. not to the version used at CERN).

Annotations "A la java" can be associated to classes and their member functions by using "@custom:" in their comments.

For example, here is a header declaring an annotation:

Generating Reflex Dictionaries

Selecting Types And Members

You can use selection files to tell genreflex what it should generate a dictionary for. If you do not use it, it will generate a dictionary for all types in the files passed at the command line, or when specifying --deep for all types it finds.

The selection file is passed to genreflex with the -s parameters like this: genreflex -s selection.xml header1.h header2.h. It is an XML file with the following structure:

Accessing Reflex Data

Please have a look at the (probably incorrect...) old page until it is updated and migrated. Sorry about that!

Reflex

Purpose

Reflex stores and handles reflection information (types, members, etc). It is written in C++. Its reflection catalog can be queried by a small set of simple API classes. See the chapter Accessing Reflex Data.

Syndicate content