fw4spl
fwAtomsPatch::LinkDescriptor Class Reference

Link descriptor used to identify a link between two versions. More...

#include <LinkDescriptor.hpp>

Classes

struct  Compare
 Struct used to compare two LinkDescriptor. More...
 

Public Types

typedef std::pair< std::string, std::string > VersionIDType
 VersionID used to link type and version.
 
typedef std::map< VersionIDType, VersionIDTypeLinksType
 Links used to link two versions.
 

Public Member Functions

 LinkDescriptor ()
 Constructor.
 
 LinkDescriptor (const std::string &context, const std::string &originVersion, const std::string &targetVersion, const std::string &patcher, LinksType links, int weight=1)
 Constructor.
 
 ~LinkDescriptor ()
 Destructor.
 
int getWeight () const
 Returns link weight.
 
const std::string & getContext () const
 Returns context name.
 
const std::string & getOriginVersion () const
 Returns origin version.
 
const std::string & getTargetVersion () const
 Returns target version.
 
const std::string & getPatcher () const
 Returns patcher classname.
 
const LinksTypegetLinks () const
 Returns map of links between versions.
 

Friends

class VersionsGraph
 

Detailed Description

Link descriptor used to identify a link between two versions.

Definition at line 22 of file LinkDescriptor.hpp.


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