Aegis  4.25.D505
Public Member Functions | Private Member Functions | Private Attributes
change_functor_inventory Class Reference

#include <inventory.h>

Inheritance diagram for change_functor_inventory:
change_functor

Public Member Functions

virtual ~change_functor_inventory ()
 change_functor_inventory (bool incbr, project *pp, bool include_original_uuid, bool uuid_links, const nstring &prefix, const char *suffix, const nstring_list &include_change, const nstring_list &exclude_change)
void operator() (change::pointer cp)

Private Member Functions

void print_one_line (change::pointer, const nstring &)
 change_functor_inventory ()
 change_functor_inventory (const change_functor_inventory &)
change_functor_inventoryoperator= (const change_functor_inventory &)

Private Attributes

projectpp
nstring_list exclude_change
nstring_list include_change
bool include_original_uuid
bool generate_uuid_based_links
nstring prefix
nstring suffix
int num

Detailed Description

The change_functor_inventory class is used to represent the action to be performed by project_inventory_walk when called by aeget.

Definition at line 33 of file inventory.h.


Constructor & Destructor Documentation

The destructor.

change_functor_inventory::change_functor_inventory ( bool  incbr,
project pp,
bool  include_original_uuid,
bool  uuid_links,
const nstring prefix,
const char *  suffix,
const nstring_list include_change,
const nstring_list exclude_change 
)

The constructor.

Parameters:
incbrwhether or not to recurse down brabches
ppThe project in question.
include_original_uuidwhether or not we want to include original-UUID attributes in the output.
uuid_linksThis flag is used to request the generation of UUID based links instead of version based links.
prefixThe prefix to prepend to the URL used to retrieve the aedist archive.
suffixThe suffix to be appended to the URL used to retrieve the aedist archive. Usually ".ae".
include_changeThe list of version patterns used to filter changes from the inventory.
exclude_changeThe list of version patterns used to filter out changes from the inventory.

The default constructor. Do not use.

The copy constructor. Do not use.


Member Function Documentation

void change_functor_inventory::operator() ( change::pointer  cp) [virtual]

The operator() method is used to call the functor.

Parameters:
cpThe change to be operated upon.

Implements change_functor.

change_functor_inventory& change_functor_inventory::operator= ( const change_functor_inventory ) [private]

The assignment operator. Do not use.

The print_one_line method is used by the functor operator to print a row of the table. Not only is the change's UUID field printed, but also any original-uuid attributes - this allows supression of change sets you don't want because another change set has subsumed them.


Field Documentation

Definition at line 91 of file inventory.h.

Definition at line 102 of file inventory.h.

Definition at line 93 of file inventory.h.

The include_original_uuid instance variable is used to remember whether or not we want to include original-UUID attributes in the output.

Definition at line 100 of file inventory.h.

The num instance variable is used to remember the number of row emitted to date.

Definition at line 112 of file inventory.h.

The pp instance variabel is used to remember the project being listed.

Definition at line 89 of file inventory.h.

Definition at line 104 of file inventory.h.

Definition at line 106 of file inventory.h.


The documentation for this class was generated from the following file: