All pastes #292193 Raw Edit

Someone

public text v1 · immutable
#292193 ·published 2006-12-26 07:27 UTC
rendered paste body
/*
    TODO:
    Create application that showing
    Encapsulate and Inheritance
*/

//-----------------------------------------
//i can see Encapsulate here... but no Inheritance
//any advice...?

Ini_Config_parser
    Config ("dummy.ini")
    ~Config () {/*write any changes*/}
    Section* addSection()
    Section* getSection()
    Section* delSection()

Section
    Item* addItem("key", "value")
    Item* addItem("value") //autoIndex Key
    bool  delItem(Item)
    bool  delItem("key")
    Item* sortItem()