DccConfiguration Class Reference

#include <DccConfiguration.h>

Inheritance diagram for DccConfiguration:

[legend]
Collaboration diagram for DccConfiguration:
[legend]
List of all members.

Public Member Functions

void download (int maj, int min) throw (ILCException::Exception)
Versionupload (string n) const throw (ILCException::Exception)
Versionupload (int maj, string n) const throw (ILCException::Exception)
Versionupload (int maj, int min) const
void addFromXML (string fileName) throw (ILCException::Exception)

Static Public Member Functions

static vector< Version * > getUnusedVersions () throw (ILCException::Exception)

Detailed Description

Class managing the configuration of DCCs


Member Function Documentation

void DccConfiguration::addFromXML ( string  fileName  )  throw (ILCException::Exception) [virtual]

Parse a XML file and add the objects to the configuration

Implements Configuration.

void DccConfiguration::download ( int  maj,
int  min 
) throw (ILCException::Exception) [virtual]

Load the given version

Parameters:
maj The majorVersionID
min The MinorVersionID

Implements Configuration.

vector< Version * > DccConfiguration::getUnusedVersions (  )  throw (ILCException::Exception) [static]

Get the list of unused versions

Returns:
A vector containing all the unused versions. Once used, you should free the memory using the Version::clearVersionVector(vector<Version*> v) method.

Version * DccConfiguration::upload ( int  maj,
int  min 
) const [virtual]

NOT IMPLEMENTED YET!! Update an existing configuration version with the current configuration. The version must not be locked!

Parameters:
maj The ID of the Major Version
min The ID of the Minor Version
Returns:
A pointer on a Version object describing the uploaded version (you have to delete this object afterward)

Implements Configuration.

Version * DccConfiguration::upload ( int  maj,
string  n 
) const throw (ILCException::Exception) [virtual]

Create a new Minor version with the current configuration.

Parameters:
maj The ID of the Major version in which you want to create a minor version
n The name of the new version
Returns:
A pointer on a Version object describing the uploaded version (you have to delete this object afterward)

Implements Configuration.

Version * DccConfiguration::upload ( string  n  )  const throw (ILCException::Exception) [virtual]

Create a new Major version with the current configuration.

Parameters:
n The name of the new version
Returns:
A pointer on a Version object describing the uploaded version (you have to delete this object afterward)

Implements Configuration.


The documentation for this class was generated from the following files:
Generated on Tue Feb 28 15:35:34 2012 for ILCConfigurationDB by  doxygen 1.4.7