Skip to content
Snippets Groups Projects
Commit 2d818b77 authored by Paul Nitzke's avatar Paul Nitzke
Browse files

Change Convert classes from internal to public

* This is for coherence reasons. If anyone can clarify what an assembly
  is we could change it back to internal. As I currently understand it,
  you need public if you want to interact with the code outside of the
  project e.g. in SparseTransform.Tests or another project that uses
  SparseTransform as a library
parent 51ed201d
Branches
No related tags found
1 merge request!27Complete documentation and streamline coding style a bit
...@@ -5,7 +5,7 @@ namespace SparseTransform.Convert ...@@ -5,7 +5,7 @@ namespace SparseTransform.Convert
/// <summary> /// <summary>
/// Extends the DotWriter class to output a colored DOT graph. /// Extends the DotWriter class to output a colored DOT graph.
/// </summary> /// </summary>
internal class ColoredDotWriter : DotWriter public class ColoredDotWriter : DotWriter
{ {
private bool textcolor; private bool textcolor;
private string[] dictColor = new string[65]; private string[] dictColor = new string[65];
......
...@@ -6,7 +6,7 @@ namespace SparseTransform.Convert ...@@ -6,7 +6,7 @@ namespace SparseTransform.Convert
/// <summary> /// <summary>
/// Provides an IWriter implementation that outputs an uncolored DOT graph. /// Provides an IWriter implementation that outputs an uncolored DOT graph.
/// </summary> /// </summary>
class DotWriter : IWriter public class DotWriter : IWriter
{ {
/// <summary> /// <summary>
/// Transforms the <c>graph</c> to a DOT string. /// Transforms the <c>graph</c> to a DOT string.
......
...@@ -3,7 +3,7 @@ using Antlr4.Runtime.Misc; ...@@ -3,7 +3,7 @@ using Antlr4.Runtime.Misc;
namespace Transform.Convert namespace Transform.Convert
{ {
internal class EListener : IAntlrErrorListener<IToken> public class EListener : IAntlrErrorListener<IToken>
{ {
/// <summary> /// <summary>
/// specialization for parsing error handling /// specialization for parsing error handling
......
...@@ -5,7 +5,7 @@ namespace SparseTransform.Convert ...@@ -5,7 +5,7 @@ namespace SparseTransform.Convert
/// <summary> /// <summary>
/// Common interface for reader classes that transform a matrix input string into data structures from SparseTransform.DataStructures /// Common interface for reader classes that transform a matrix input string into data structures from SparseTransform.DataStructures
/// </summary> /// </summary>
interface IReader public interface IReader
{ {
/// <summary> /// <summary>
/// Transforms the <c>matrix</c> to an IGraph (respectively a Bipartite- or AdjacencyGraph) /// Transforms the <c>matrix</c> to an IGraph (respectively a Bipartite- or AdjacencyGraph)
......
...@@ -5,7 +5,7 @@ namespace SparseTransform.Convert ...@@ -5,7 +5,7 @@ namespace SparseTransform.Convert
/// <summary> /// <summary>
/// Common interface for writer classes that transform a graph object to a serialized string. /// Common interface for writer classes that transform a graph object to a serialized string.
/// </summary> /// </summary>
interface IWriter public interface IWriter
{ {
/// <summary> /// <summary>
/// Transforms the <c>graph</c> to a string representation. /// Transforms the <c>graph</c> to a string representation.
......
...@@ -7,7 +7,7 @@ namespace SparseTransform.Convert ...@@ -7,7 +7,7 @@ namespace SparseTransform.Convert
/// <summary> /// <summary>
/// Provides an IReader implementation to read a MatrixMarket string. /// Provides an IReader implementation to read a MatrixMarket string.
/// </summary> /// </summary>
internal class MatrixMarketReader : IReader public class MatrixMarketReader : IReader
{ {
public IGraph ReadGraph(string matrix) public IGraph ReadGraph(string matrix)
{ {
......
...@@ -6,7 +6,7 @@ namespace SparseTransform.Convert ...@@ -6,7 +6,7 @@ namespace SparseTransform.Convert
/// Provides an IWriter implementation that outputs a MatrixMarket string. /// Provides an IWriter implementation that outputs a MatrixMarket string.
/// Supports output of both the seed matrix and compressed matrix. /// Supports output of both the seed matrix and compressed matrix.
/// </summary> /// </summary>
class MatrixMarketWriter : IWriter public class MatrixMarketWriter : IWriter
{ {
/// <summary> /// <summary>
/// If true, write (only) the seed matrix /// If true, write (only) the seed matrix
......
...@@ -3,7 +3,7 @@ using SparseTransform.Convert; ...@@ -3,7 +3,7 @@ using SparseTransform.Convert;
namespace Transform.Convert namespace Transform.Convert
{ {
internal class VisitorHeader : MMFHeaderBaseVisitor<bool> public class VisitorHeader : MMFHeaderBaseVisitor<bool>
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment