v_sim.DataAtomic¶
- Subclasses:
 
Methods¶
- Inherited:
 v_sim.DataLoadable (11), v_sim.Data (24), v_sim.NodeArray (55), GObject.Object (37), v_sim.Maskable (3), v_sim.Boxed (2), v_sim.Pointset (9)
- Structs:
 
class  | 
  | 
class  | 
  | 
class  | 
|
class  | 
  | 
class  | 
  | 
  | 
|
  | 
|
  | 
Virtual Methods¶
Properties¶
- Inherited:
 v_sim.DataLoadable (6), v_sim.Data (2), v_sim.NodeArray (3), v_sim.Boxed (2), v_sim.Pointset (4)
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
source filename  | 
||
r/w/co  | 
source format  | 
Signals¶
Fields¶
- Inherited:
 v_sim.Data (2), v_sim.NodeArray (5), GObject.Object (1), v_sim.Maskable (1), v_sim.Boxed (1)
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class v_sim.DataAtomic(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
Structure used to define
v_sim.DataAtomicobjects.New in version 3.8.
- classmethod addLoader(loader)¶
 - Parameters:
 loader (
v_sim.DataLoader) – av_sim.DataLoaderobject.
Add loader to the list of
v_sim.DataLoaderto be used whenv_sim.DataLoadable.load() is called.New in version 3.8.
- classmethod finalize()¶
 Empty the list of known loaders.
New in version 3.8.
- classmethod getFileDescription()¶
 - Returns:
 a string owned by V_Sim.
- Return type:
 
Returns a translated string describing what is files loaded by
v_sim.DataAtomicobjects.New in version 3.8.
- classmethod getLoaders()¶
 - Returns:
 a list of
v_sim.DataLoaderowned by V_Sim.- Return type:
 
Returns a list of available
v_sim.DataLoader.New in version 3.8.
- classmethod new(file, format)¶
 - Parameters:
 file (
str) – a filename.format (
v_sim.DataLoaderorNone) – av_sim.DataLoaderformat, if known.
- Returns:
 a newly allocated
v_sim.DataAtomicobject.- Return type:
 
Creates a
v_sim.DataAtomicobject and set file to it.New in version 3.8.
- getFile()¶
 - Returns:
 a string owned by V_Sim.
- format:
 a location to store a
v_sim.DataLoaderobject.
- Return type:
 (
str, format:v_sim.DataLoader)
Returns the file defined in self and its associated format, if any.
New in version 3.8.
- getForces(create)¶
 - Parameters:
 create (
bool) – a boolean.- Returns:
 a
v_sim.NodeValuesVectorobject, owned by V_Sim.- Return type:
 
Retrieves the
v_sim.NodeValuesVectorused to store forces for self, create it depending on create if not exists.New in version 3.8.
- loadAt(filename, iSet, cancel)¶
 - Parameters:
 filename (
str) – a filename.iSet (
int) – an id.cancel (
Gio.CancellableorNone) – aGio.Cancellableobject.
- Raises:
 - Returns:
 Trueon success.- Return type:
 
Specific routine to load an atomic file that is not stored in the location declared at construction. This is only used for archive plug-in.
New in version 3.8.
Property Details¶
- v_sim.DataAtomic.props.atomic_filename¶
 - Name:
 atomic-filename- Type:
 - Default Value:
 - Flags:
 
source filename
- v_sim.DataAtomic.props.atomic_format¶
 - Name:
 atomic-format- Type:
 - Default Value:
 - Flags:
 
source format