next up previous contents
Next: Brief description of each Up: Adressbook (ADB) classes Previous: current ADB files format   Contents

Classes

Class hierarchy is pictured below. Double arrows indicate inheritance, simple ones - functions which allow to get an object of this type. Dashed lines indicate "inner working" of the classes, i.e. something that you can safely ignore if you only want to use (and not modify) ADB code. All of these classes are the interfaces - i.e. they have no data and all their methods are public pure virtual (except for AdbManager, but it's almost like this...). All of the classes are reference counted (they derive from MObjectRC) and thus the usual rules of workign with ref counted objects apply (see MObject.h for details).

                               static AdbManager::Get()                     

                                         |                                       

                                         |                                       

                                         |                                       

                                        \ /                                      

                                         -                                       

                                     AdbManager - - - - - - - -                  

                                         |                                       

                                         |                    | AdbDataProvider

      GetEntry()                         | CreateBook()                          

      -----                         | <- - - - - - - - - -                  

     /          \                        |                                       

    /            \                       |

   /              \                     \ /               

  \/               \                     -                                       

AdbEntry =====> AdbEntryGroup ======> AdbBook                                     

                                     /                                   

  /|\                 /\\             /                                    

   |                    \            /                                     

   |                     ------                                      

   | Set/GetField()       GetGroup()

   |

   |

  \ /                                                                      

   -                                                                       

entry info                                                                           



Subsections

Charlie & 2001-04-19