Method | Description | |
---|---|---|
AssertValid ( ) : void | ||
GraphAdapterBase ( ) : System |
Initializes a new instance of the GraphAdapterBase class.
|
|
LoadGraphFromFile ( String filename ) : IGraph | ||
LoadGraphFromStream ( Stream stream ) : IGraph | ||
LoadGraphFromString ( String theString ) : IGraph | ||
SaveGraph ( IGraph graph, Stream stream ) : void | ||
SaveGraph ( IGraph graph, String filename ) : void | ||
SupportsDirectedness ( GraphDirectedness directedness ) : System.Boolean |
Method | Description | |
---|---|---|
CheckGraphDirectedness ( IGraph graph, System.Boolean loading ) : void | ||
GetAttributeNames ( IGraph graph, System.Boolean forVertices ) : String[] | ||
GetSupportedDirectedness ( System.Boolean &supportsDirected, System.Boolean &supportsUndirected, System.Boolean &supportsMixed ) : void | ||
LoadGraphCore ( Stream stream ) : IGraph | ||
OnLoadFormatError ( String completeErrorMessage ) : void | ||
OnLoadFormatError ( String line, |
||
OnLoadFormatError2 ( String line, |
||
OnSaveError ( String errorMessage ) : void | ||
SaveGraphCore ( IGraph graph, Stream stream ) : void | ||
TryReadLine ( |
||
VertexCountToString ( |
protected CheckGraphDirectedness ( IGraph graph, System.Boolean loading ) : void | ||
graph | IGraph | |
loading | System.Boolean | |
return | void |
protected GetAttributeNames ( IGraph graph, System.Boolean forVertices ) : String[] | ||
graph | IGraph | |
forVertices | System.Boolean | |
return | String[] |
protected abstract GetSupportedDirectedness ( System.Boolean &supportsDirected, System.Boolean &supportsUndirected, System.Boolean &supportsMixed ) : void | ||
supportsDirected | System.Boolean | |
supportsUndirected | System.Boolean | |
supportsMixed | System.Boolean | |
return | void |
protected abstract LoadGraphCore ( Stream stream ) : IGraph | ||
stream | Stream | |
return | IGraph |
public LoadGraphFromFile ( String filename ) : IGraph | ||
filename | String | |
return | IGraph |
public LoadGraphFromStream ( Stream stream ) : IGraph | ||
stream | Stream | |
return | IGraph |
public LoadGraphFromString ( String theString ) : IGraph | ||
theString | String | |
return | IGraph |
protected OnLoadFormatError ( String completeErrorMessage ) : void | ||
completeErrorMessage | String | |
return | void |
protected OnLoadFormatError ( String line, |
||
line | String | |
lineNumber | ||
expectedFormat | String | |
return | void |
protected OnLoadFormatError2 ( String line, |
||
line | String | |
lineNumber | ||
errorDetails | String | |
return | void |
protected OnSaveError ( String errorMessage ) : void | ||
errorMessage | String | |
return | void |
public SaveGraph ( IGraph graph, Stream stream ) : void | ||
graph | IGraph | |
stream | Stream | |
return | void |
public SaveGraph ( IGraph graph, String filename ) : void | ||
graph | IGraph | |
filename | String | |
return | void |
protected abstract SaveGraphCore ( IGraph graph, Stream stream ) : void | ||
graph | IGraph | |
stream | Stream | |
return | void |
public SupportsDirectedness ( GraphDirectedness directedness ) : System.Boolean | ||
directedness | GraphDirectedness | |
return | System.Boolean |
protected TryReadLine ( |
||
streamReader | ||
line | String | |
lineNumber | ||
return | System.Boolean |
protected VertexCountToString ( |
||
vertices | ||
return | String |