Disk ARchive  2.5.2
Full featured and portable backup and archiving tool
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Protected Member Functions
libdar::cat_nomme Class Reference

the base class for all entry that have a name More...

#include <cat_nomme.hpp>

Inherits libdar::cat_entree.

Inherited by libdar::cat_detruit, libdar::cat_ignored, libdar::cat_inode, and libdar::cat_mirage.

List of all members.

Public Member Functions

 cat_nomme (const std::string &name)
 cat_nomme (const pile_descriptor &pdesc, bool small)
bool operator== (const cat_entree &ref) const
 returns true if the two object have the same content
virtual bool operator< (const cat_nomme &ref) const
const std::string & get_name () const
void change_name (const std::string &x)
bool same_as (const cat_nomme &ref) const

Protected Member Functions

void inherited_dump (const pile_descriptor &pdesc, bool small) const
 inherited class may overload this method but shall first call the parent's inherited_dump() in the overloaded method

Detailed Description

the base class for all entry that have a name

Definition at line 44 of file cat_nomme.hpp.


Member Function Documentation

bool libdar::cat_nomme::same_as ( const cat_nomme ref) const [inline]

compares two objects

Note:
no need to have a virtual method, as signature will differ in inherited classes (argument type changes)

Definition at line 59 of file cat_nomme.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines