Version: 9.12.0
SALOMEDSImpl_Study.cxx File Reference
#include "SALOMEDSImpl_Study.hxx"
#include <string.h>
#include <KERNEL_version.h>
#include <Basics_Utils.hxx>
#include <Basics_DirUtils.hxx>
#include "HDFexplorer.hxx"
#include "DF_Application.hxx"
#include "DF_ChildIterator.hxx"
#include "SALOMEDSImpl_ChildNodeIterator.hxx"
#include "SALOMEDSImpl_Attributes.hxx"
#include "SALOMEDSImpl_UseCaseIterator.hxx"
#include "SALOMEDSImpl_AttributeReference.hxx"
#include "SALOMEDSImpl_StudyHandle.hxx"
#include "SALOMEDSImpl_Tool.hxx"
#include "SALOMEDSImpl_IParameters.hxx"
#include "SALOMEDSImpl_ScalarVariable.hxx"
#include "SALOMEDSImpl_SComponent.hxx"
#include "HDFOI.hxx"
#include <fstream>
#include <sstream>
#include <algorithm>
Include dependency graph for SALOMEDSImpl_Study.cxx:

Macros

#define WITHOUT_TABS
 
#define DIRECTORYID   16661
 
#define FILELOCALID   26662
 
#define FILEID   "FILE: "
 
#define VARIABLE_SEPARATOR   ':'
 
#define OPERATION_SEPARATOR   '|'
 
#define USE_CASE_LABEL_ID   "0:2"
 

Functions

static void SaveAttributes (const SALOMEDSImpl_SObject &aSO, HDFgroup *hdf_group_sobject)
 Function : SaveAttributes Purpose : Save attributes for object. More...
 
static void ReadAttributes (SALOMEDSImpl_Study *, const SALOMEDSImpl_SObject &, HDFdataset *)
 
static void BuildTree (SALOMEDSImpl_Study *, HDFgroup *)
 
static void Translate_IOR_to_persistentID (const SALOMEDSImpl_SObject &, SALOMEDSImpl_Driver *, bool isMultiFile, bool isASCII)
 
static void ReadNoteBookVariables (SALOMEDSImpl_Study *theStudy, HDFgroup *theGroup)
 
static std::string replace_tabs (const std::string &in)
 
static std::string GetComponentHeader (const char *theComponentName)
 
void dumpSO (const SALOMEDSImpl_SObject &theSO, std::fstream &fp, const std::string &Tab, SALOMEDSImpl_Study *theStudy)
 
static SALOMEDSImpl_AbstractCallback *& getGenObjRegister (DF_Document *doc)
 

Variables

static const int indent_size = 2
 number of spaces for indentation in Python dump files (to replace \t symbols) More...
 

Macro Definition Documentation

◆ DIRECTORYID

#define DIRECTORYID   16661

◆ FILEID

#define FILEID   "FILE: "

◆ FILELOCALID

#define FILELOCALID   26662

◆ OPERATION_SEPARATOR

#define OPERATION_SEPARATOR   '|'

◆ USE_CASE_LABEL_ID

#define USE_CASE_LABEL_ID   "0:2"

◆ VARIABLE_SEPARATOR

#define VARIABLE_SEPARATOR   ':'

◆ WITHOUT_TABS

#define WITHOUT_TABS

Function Documentation

◆ BuildTree()

◆ dumpSO()

◆ GetComponentHeader()

static std::string GetComponentHeader ( const char *  theComponentName)
static

◆ getGenObjRegister()

◆ ReadAttributes()

◆ ReadNoteBookVariables()

◆ replace_tabs()

static std::string replace_tabs ( const std::string &  in)
static

References indent_size, and out.

Referenced by SALOMEDSImpl_Study::DumpStudy().

◆ SaveAttributes()

static void SaveAttributes ( const SALOMEDSImpl_SObject SO,
HDFgroup hdf_group_sobject 
)
static

◆ Translate_IOR_to_persistentID()

Variable Documentation

◆ indent_size

const int indent_size = 2
static

number of spaces for indentation in Python dump files (to replace \t symbols)

Referenced by replace_tabs().