v_sim.DumpData¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
||
priv  | 
r  | 
Class Details¶
- class v_sim.DumpData(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
Common name to refer to a #_VisuDumpData.
- classmethod new(descr, patterns, method)¶
 - Parameters:
 descr (
str) – a description.patterns ([
str]) – a list of file patterns.method (
v_sim.DumpDataWriteFunc) – the write method.
- Returns:
 a newly created
v_sim.DumpDataobject.- Return type:
 
Creates a new
v_sim.DumpDataobject.New in version 3.8.
- write(fileName, dataObj)¶
 - Parameters:
 fileName (
str) – a string that defined the file to write to ;dataObj (
v_sim.Data) – thev_sim.Datato be exported ;
- Raises:
 - Returns:
 Trueif dump succeed.- Return type:
 
Use the write function of self to export the current dataObj to file fileName.
New in version 3.6.