ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcdcsMRGLIST Class Reference

#include <ngcdcsMRGLIST.hpp>

Public Member Functions

ngcdcsMRGLISToperator= (const ngcdcsMRGLIST &other)
 Operator =.
 
 ngcdcsMRGLIST (const ngcdcsMRGLIST &other)
 Copy constructor.
 
 ngcdcsMRGLIST ()
 Constructor.
 
virtual ~ngcdcsMRGLIST ()
 Destructor.
 
ngcdcs_mfile_tAdd (const char *newName)
 Add entry to list.
 
void Delete (ngcdcs_mfile_t *e)
 Remove entry from list.
 
void Clear ()
 Clear list.
 
ngcdcs_mfile_tFirst ()
 Return first list entry.
 
ngcdcs_mfile_tGetNext ()
 Return next entry to be processed.
 
ngcdcs_mfile_tGet (int id)
 Get entry by merger id.
 
ngcdcs_mfile_tGet (const char *name)
 Get entry by name.
 
int Backup (const char *fileName, char *erms=NULL)
 Attach backup file.
 
int Export (const char *fileName, char *erms)
 Export list to file.
 
int Export ()
 Export list to backup-file.
 
void Statistics (int *pending, int *active, int *aborted, int *failure, FILE *fd=NULL)
 Get statistics.
 
void Statistics (FILE *fd)
 Write statistics to stream.
 

Public Attributes

int size
 Number of entries.
 
ngcdcs_mfile_tentry
 Entry.
 

Detailed Description

Merger file-list class

Constructor & Destructor Documentation

◆ ngcdcsMRGLIST() [1/2]

ngcdcsMRGLIST::ngcdcsMRGLIST ( const ngcdcsMRGLIST & other)

Copy constructor.

◆ ngcdcsMRGLIST() [2/2]

ngcdcsMRGLIST::ngcdcsMRGLIST ( )

Constructor.

◆ ~ngcdcsMRGLIST()

ngcdcsMRGLIST::~ngcdcsMRGLIST ( )
virtual

Destructor.

Member Function Documentation

◆ Add()

ngcdcs_mfile_t * ngcdcsMRGLIST::Add ( const char * newName)

Add entry to list.

◆ Backup()

int ngcdcsMRGLIST::Backup ( const char * fileName,
char * erms = NULL )

Attach backup file.

◆ Clear()

void ngcdcsMRGLIST::Clear ( )

Clear list.

◆ Delete()

void ngcdcsMRGLIST::Delete ( ngcdcs_mfile_t * e)

Remove entry from list.

◆ Export() [1/2]

int ngcdcsMRGLIST::Export ( )

Export list to backup-file.

◆ Export() [2/2]

int ngcdcsMRGLIST::Export ( const char * fileName,
char * erms )

Export list to file.

◆ First()

ngcdcs_mfile_t * ngcdcsMRGLIST::First ( )

Return first list entry.

◆ Get() [1/2]

ngcdcs_mfile_t * ngcdcsMRGLIST::Get ( const char * name)

Get entry by name.

◆ Get() [2/2]

ngcdcs_mfile_t * ngcdcsMRGLIST::Get ( int id)

Get entry by merger id.

◆ GetNext()

ngcdcs_mfile_t * ngcdcsMRGLIST::GetNext ( )

Return next entry to be processed.

◆ operator=()

ngcdcsMRGLIST & ngcdcsMRGLIST::operator= ( const ngcdcsMRGLIST & other)

Operator =.

◆ Statistics() [1/2]

void ngcdcsMRGLIST::Statistics ( FILE * fd)

Write statistics to stream.

◆ Statistics() [2/2]

void ngcdcsMRGLIST::Statistics ( int * pending,
int * active,
int * aborted,
int * failure,
FILE * fd = NULL )

Get statistics.

Member Data Documentation

◆ entry

ngcdcs_mfile_t* ngcdcsMRGLIST::entry

Entry.

◆ size

int ngcdcsMRGLIST::size

Number of entries.


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