Next: , Previous: library internals, Up: Library framework



5.3.4 The library_entry internals

The library_entry class holds a pointer to a class derived from library_entry::impl which reads data from a particular library entry.

— Constructor: library_entry::library_entry (void);

This constructor initialises the library_entry with a NULL library_entry::impl pointer. It is undefined behaviour to call any accessor functions on a default constructed library_entry.

— Constructor: library_entry::library_entry (library_entry::impl* PIMPL);

This constructor creates a new object from the given pointer.

— Function: string name (void) const;
— Function: string base_name (void) const;
— Function: string pn (void) const;
— Function: int bells (void) const;
— Function: method meth (void) const

These functions all call the corresponding function on the library_entry::impl object.