paludis  Version 2.6.0
Modules | Files | Classes | Macros | Functions
Utilities

Modules

 Configuration Files
 
 Strings
 
 Filesystem
 
 Data Structures
 
 Iterators
 
 OO Design Helpers
 
 Logging
 
 System
 
 Visitors
 
 Threads
 

Files

file  attributes.hh
 
file  damerau_levenshtein.hh
 
file  make_shared_copy-fwd.hh
 
file  make_shared_copy.hh
 
file  no_type.hh
 
file  save.hh
 

Classes

class  paludis::DamerauLevenshtein
 
class  paludis::NoType< u_ >
 
struct  paludis::RemoveSharedPtr< T_ >
 
struct  paludis::RemoveSharedPtr< std::shared_ptr< T_ > >
 
struct  paludis::RemoveSharedPtr< std::shared_ptr< const T_ > >
 
struct  paludis::RemoveSharedPtr< const T_ >
 
struct  paludis::RemoveSharedPtr< T_ & >
 
class  paludis::Save< T_ >
 
class  paludis::RunOnDestruction
 

Macros

#define PALUDIS_ATTRIBUTE(x)
 
#define PALUDIS_VISIBLE
 
#define PALUDIS_HIDDEN
 

Functions

std::string paludis::cookie () PALUDIS_VISIBLE PALUDIS_ATTRIBUTE((warn_unused_result))
 
template<typename T_ >
std::shared_ptr< T_ > paludis::make_shared_copy (const T_ &t) PALUDIS_ATTRIBUTE((warn_unused_result))
 

Detailed Description

The utilities library contains various classes that are not core package management functionality.

Examples

Macro Definition Documentation

#define PALUDIS_ATTRIBUTE (   x)
#define PALUDIS_HIDDEN

Marker used to represent 'make hidden', if visibility is enabled.

#define PALUDIS_VISIBLE

Marker used to represent 'make visible', if visibility is enabled.

Referenced by paludis::args::EnumArg::default_arg(), paludis::args::ArgsGroup::description(), and paludis::args::ArgsHandler::man_section().

Function Documentation

std::string paludis::cookie ( )

Return a magic cookie string.

The cookie string will not contain any weird characters. It's derived from a combination of the process ID and the current time.

template<typename T_ >
std::shared_ptr< T_ > paludis::make_shared_copy ( const T_ &  t)

Like make_shared_ptr(new T_(t)).

Since
0.36