C# Class SetIdFromNames, libroadrunner-deps

This class implements an identifier transformer, that means it can be used to rename all sbase elements.
Inheritance: libsbmlcs.IdentifierTransformer
Afficher le fichier Open project: sys-bio/libroadrunner-deps Class Usage Examples

Méthodes publiques

Méthode Description
Main ( string args ) : int

The program is to be invoked with two arguments, the input and output file.

NameToSbmlId ( string name ) : string
SetIdFromNames ( List ids ) : System

Constructor initializing this transformer with a list of ids that are currently used in the model (and thus newly generated ids have to be different)

getAllIds ( SBaseList allElements ) : List
transform ( SBase element ) : int

The function actually doing the transforming. This function is called once for each SBase element in the model.

Private Methods

Méthode Description
getValidIdForName ( string name ) : string

Method Details

Main() public static méthode

The program is to be invoked with two arguments, the input and output file.
public static Main ( string args ) : int
args string command line arguments
Résultat int

NameToSbmlId() public méthode

public NameToSbmlId ( string name ) : string
name string
Résultat string

SetIdFromNames() public méthode

Constructor initializing this transformer with a list of ids that are currently used in the model (and thus newly generated ids have to be different)
public SetIdFromNames ( List ids ) : System
ids List vector of current ids
Résultat System

getAllIds() public static méthode

public static getAllIds ( SBaseList allElements ) : List
allElements libsbmlcs.SBaseList
Résultat List

transform() public méthode

The function actually doing the transforming. This function is called once for each SBase element in the model.
public transform ( SBase element ) : int
element libsbmlcs.SBase the current element
Résultat int