Class SimpleStore
Utility class that is intended to support things like writing and reading
test cases, etc. You can write out a test case in a single line, eg
SimpleStore.Store(path, new object[] { TestMesh, VertexList, PlaneNormal, ... })
The object list will be binned into the relevant sublists automatically.
Then you can load this data via:
SimpleStore s = SimpleStore.Restore(path)
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
SimpleStore()
Declaration
SimpleStore(Object[])
Declaration
public SimpleStore(object[] objs)
Parameters
Type |
Name |
Description |
Object[] |
objs |
|
Fields
IntLists
Declaration
public List<List<int>> IntLists
Field Value
Meshes
Declaration
public List<DMesh3> Meshes
Field Value
Points
Declaration
public List<Vector3d> Points
Field Value
Strings
Declaration
public List<string> Strings
Field Value
Methods
Add(Object[])
Declaration
public void Add(object[] objs)
Parameters
Type |
Name |
Description |
Object[] |
objs |
|
Restore(String)
Declaration
public static SimpleStore Restore(string sPath)
Parameters
Type |
Name |
Description |
String |
sPath |
|
Returns
Store(String, SimpleStore)
Declaration
public static void Store(string sPath, SimpleStore s)
Parameters
Store(String, Object[])
Declaration
public static void Store(string sPath, object[] objs)
Parameters