ROOT Home
Objectivity Home
 
Introduction
Naming Rules
Examples
FAQ
Class Reference
Availability
TODO
PHENIX DBrowser

Naming Rules

The library was designed with naming rules in mind.

  • Every class and global function has roo prefix. For example:

    • rooObj
    • rooInit()

  • ooHandle(ooXXX) object handler class corresponds to rooXXX wrapper class.

    • For example: ooHandle(ooDBObj) <-> rooDBObj

  • ooItr(ooXXXObj) iterator class corresponds to rooXXXItr wrapper class.

    • For example: ooItr(ooDBObj) <-> rooDBItr

  • Active Schema classes:

    • underscore symbols are removed from class names

    • key words in class name begin with uppercase letter

    • For example:

      • property_iterator <-> rooPropertyIterator,
      • d_Class <-> rooClass

  • Objectivity constants and global variables:

    • oocXXX Objy constant corresponds to kooXXX constant in rooObjy library.

      For example:

      • oocMROW <-> kooMROW
      • oocReadOnly <-> kooReadOnly

    • oovXXX Objy global corresponds to gooXXX global in rooObjy library.

      For example:

      • oovTopDB <-> gooTopDB
      • oovTopTran <-> gooTopTran


top



If you have any comments about this page please send them to Valeriy Onuchin