Version: 6.3.1
Public Types | Public Member Functions | Static Public Member Functions | Data Fields | Protected Attributes | Static Protected Attributes

VISU.TableView_i Class Reference

#include <VISU_View_i.hh>

Inheritance diagram for VISU.TableView_i:
Inheritance graph

Public Types

typedef VISU::TableView TInterface
typedef std::map< std::string,
QString > 
TRestoringMap
typedef Storable *(* TStorableEngine )(SALOMEDS::SObject_ptr theSObject, const TRestoringMap &theMap, const std::string &thePrefix, CORBA::Boolean theIsMultiFile)
typedef std::map< std::string,
TStorableEngine
TStorableEngineMap
typedef std::string TFileName
typedef std::vector< TFileNameTFileNames

Public Member Functions

 TableView_i (SalomeApp_Application *theApplication)
virtual ~TableView_i ()
virtual VISU::VISUType GetType ()
virtual void SetTitle (const char *theTitle)
virtual char * GetTitle ()
virtual void Close ()
virtual StorableCreate (VISU::Table_ptr theTable)
virtual void ShowPart (VISU::View::ViewRepresentation ViewRepr, CORBA::Boolean state)
virtual CORBA::Boolean IsPartShown (VISU::View::ViewRepresentation ViewRepr)
virtual void SplitRight ()
virtual void SplitLeft ()
virtual void SplitBottom ()
virtual void SplitTop ()
virtual void OnTop ()
virtual void Attract (VISU::View_ptr theView)
virtual void AttractAll (VISU::View_ptr theView)
virtual void SetRelativePositionInSplitter (CORBA::Double thePosition)
virtual void SetRelativeSizeInSplitter (CORBA::Double theSize)
virtual void SetRelativePositionX (CORBA::Double thePosition)
virtual void SetRelativePositionY (CORBA::Double thePosition)
virtual void SetRelativeSizeX (CORBA::Double theSize)
virtual void SetRelativeSizeY (CORBA::Double theSize)
virtual void SetViewWidth (CORBA::Long Width)
virtual void SetViewHeight (CORBA::Long Height)
virtual CORBA::Long GetViewWidth ()
virtual CORBA::Long GetViewHeight ()
virtual void SetViewPositionHorizontal (VISU::View::ViewPosition ViewPosHor)
virtual void SetViewPositionVertical (VISU::View::ViewPosition ViewPosVer)
virtual void SetRelativePosition (CORBA::Double x, CORBA::Double y)
virtual void SetRelativeSize (CORBA::Double x, CORBA::Double y)
virtual void Minimize ()
virtual void Restore ()
virtual void Maximize ()
virtual void SetBackground (const SALOMEDS::Color &theColor)
virtual SALOMEDS::Color GetBackground ()
virtual void EraseAll ()
virtual void DisplayAll ()
virtual void Erase (PrsObject_ptr thePrsObj)
virtual void Display (PrsObject_ptr thePrsObj)
virtual void DisplayOnly (PrsObject_ptr thePrsObj)
virtual void Update ()
virtual CORBA::Boolean SavePicture (const char *theFileName)
virtual void ToStream (std::ostringstream &theStr)
virtual const char * GetComment () const
SUIT_ViewWindow * GetViewWindow ()
void SetViewWindow (SUIT_ViewWindow *theViewWindow)
std::string ToString ()
virtual CORBA::Boolean CanCopy (SALOMEDS::SObject_ptr theObject)
virtual bool CopyFrom (SALOMEDS::SObject_ptr theObject, CORBA::Long &theObjectID, const std::string &theTmpDir, TFileNames &theFileNames)
virtual char * GetID ()

Static Public Member Functions

static void RegistryStorableEngine (const std::string &theComment, TStorableEngine theEngine)
static StorableCreate (SALOMEDS::SObject_ptr theSObject, const std::string &theLocalPersistentID, const std::string &thePrefix, CORBA::Boolean theIsMultiFile)
static VISU::VISUType Comment2Type (const std::string &theComment)
static VISU::VISUType RestoringMap2Type (const TRestoringMap &theRestoringMap)
static VISU::VISUType Stream2Type (const std::string &thePersistentString)
static VISU::VISUType SObject2Type (const _PTR(SObject)&theSObject)
static std::string CorrectPersistentString (const std::string &thePersistentString)
static std::string FindEntry (SALOMEDS::Study_ptr theStudyDocument, const std::string &theStartEntry, const TRestoringMap &theRestoringMap, int IsAllLevels=true)
static QString FindValue (const TRestoringMap &theMap, const std::string &theArg, bool *theIsFind=NULL)
static QString FindValue (const TRestoringMap &theMap, const std::string &theArg, const QString &theDefaultValue)
static void StringToMap (const QString &theString, TRestoringMap &theMap)
static TRestoringMap GetStorableMap (_PTR(SObject) theSObject)
static SALOMEDS::SObject_ptr GetResultSO (SALOMEDS::SObject_ptr theSObject)
static void DataToStream (std::ostringstream &theStr, const QString &theName, const QString &theVal)
static void DataToStream (std::ostringstream &theStr, const QString &theName, int theVal)
static void DataToStream (std::ostringstream &theStr, const QString &theName, long theVal)
static void DataToStream (std::ostringstream &theStr, const QString &theName, double theVal)
static CORBA::ORB_var GetORB ()
static PortableServer::POA_var GetPOA ()
static SALOME_NamingService * GetNS ()
static SALOME_LifeCycleCORBA * GetLCC ()
static VISU_Gen_iGetVisuGenImpl ()

Data Fields

QWidgetmyWorkspace
SalomeApp_Application * myApplication
SUIT_ViewManager * myViewManager

Protected Attributes

VISU_TableDlgmyView
std::string myID

Static Protected Attributes

static QMutex * myMutex = NULL
static CORBA::ORB_var myOrb
static PortableServer::POA_var myPoa
static SALOME_NamingService * myNamingService
static VISU_Gen_imyVisuGenImpl
static SALOME_LifeCycleCORBA * myEnginesLifeCycle

Member Typedef Documentation

Reimplemented from VISU.Base_i.

typedef std::map<std::string, QString> VISU.Storable.TRestoringMap [inherited]
typedef Storable*(* VISU.Storable.TStorableEngine)(SALOMEDS::SObject_ptr theSObject, const TRestoringMap &theMap, const std::string &thePrefix, CORBA::Boolean theIsMultiFile) [inherited]
typedef std::string VISU.Storable.TFileName [inherited]

Reimplemented in VISU.Result_i.

typedef std::vector<TFileName> VISU.Storable.TFileNames [inherited]

Reimplemented in VISU.Result_i.


Constructor & Destructor Documentation

VISU.TableView_i::TableView_i ( SalomeApp_Application *  theApplication)
VISU.TableView_i::~TableView_i ( ) [virtual]

Member Function Documentation

virtual VISU::VISUType VISU.TableView_i.GetType ( ) [virtual]

Implements VISU.Base_i.

References VISU.TTABLEVIEW.

void VISU.TableView_i::SetTitle ( const char *  theTitle) [virtual]
char * VISU.TableView_i::GetTitle ( ) [virtual]
void VISU.TableView_i::Close ( ) [virtual]

Implements VISU.View_i.

References VISU.TableView_i.myView.

Storable * VISU.TableView_i::Create ( VISU::Table_ptr  theTable) [virtual]
void VISU.View_i::ShowPart ( VISU::View::ViewRepresentation  ViewRepr,
CORBA::Boolean  state 
) [virtual, inherited]
CORBA::Boolean VISU.View_i::IsPartShown ( VISU::View::ViewRepresentation  ViewRepr) [virtual, inherited]
void VISU.View_i::SplitRight ( ) [virtual, inherited]
void VISU.View_i::SplitLeft ( ) [virtual, inherited]
void VISU.View_i::SplitBottom ( ) [virtual, inherited]
void VISU.View_i::SplitTop ( ) [virtual, inherited]
void VISU.View_i::OnTop ( ) [virtual, inherited]
void VISU.View_i::Attract ( VISU::View_ptr  theView) [virtual, inherited]
void VISU.View_i::AttractAll ( VISU::View_ptr  theView) [virtual, inherited]
void VISU.View_i::SetRelativePositionInSplitter ( CORBA::Double  thePosition) [virtual, inherited]
void VISU.View_i::SetRelativeSizeInSplitter ( CORBA::Double  theSize) [virtual, inherited]
void VISU.View_i::SetRelativePositionX ( CORBA::Double  thePosition) [virtual, inherited]
void VISU.View_i::SetRelativePositionY ( CORBA::Double  thePosition) [virtual, inherited]
void VISU.View_i::SetRelativeSizeX ( CORBA::Double  theSize) [virtual, inherited]
void VISU.View_i::SetRelativeSizeY ( CORBA::Double  theSize) [virtual, inherited]
void VISU.View_i::SetViewWidth ( CORBA::Long  Width) [virtual, inherited]
void VISU.View_i::SetViewHeight ( CORBA::Long  Height) [virtual, inherited]
CORBA::Long VISU.View_i::GetViewWidth ( ) [virtual, inherited]
CORBA::Long VISU.View_i::GetViewHeight ( ) [virtual, inherited]
void VISU.View_i::SetViewPositionHorizontal ( VISU::View::ViewPosition  ViewPosHor) [virtual, inherited]
void VISU.View_i::SetViewPositionVertical ( VISU::View::ViewPosition  ViewPosVer) [virtual, inherited]
void VISU.View_i::SetRelativePosition ( CORBA::Double  x,
CORBA::Double  y 
) [virtual, inherited]
void VISU.View_i::SetRelativeSize ( CORBA::Double  x,
CORBA::Double  y 
) [virtual, inherited]
void VISU.View_i::Minimize ( ) [virtual, inherited]
void VISU.View_i::Restore ( ) [virtual, inherited]
void VISU.View_i::Maximize ( ) [virtual, inherited]
void VISU.View_i::SetBackground ( const SALOMEDS::Color &  theColor) [virtual, inherited]
SALOMEDS::Color VISU.View_i::GetBackground ( ) [virtual, inherited]
void VISU.View_i::EraseAll ( ) [virtual, inherited]

Reimplemented in VISU.XYPlot_i, and VISU.View3D_i.

void VISU.View_i::DisplayAll ( ) [virtual, inherited]

Reimplemented in VISU.View3D_i.

void VISU.View_i::Erase ( PrsObject_ptr  thePrsObj) [virtual, inherited]

Reimplemented in VISU.XYPlot_i, and VISU.View3D_i.

void VISU.View_i::Display ( PrsObject_ptr  thePrsObj) [virtual, inherited]

Reimplemented in VISU.XYPlot_i, and VISU.View3D_i.

void VISU.View_i::DisplayOnly ( PrsObject_ptr  thePrsObj) [virtual, inherited]

Reimplemented in VISU.XYPlot_i, and VISU.View3D_i.

void VISU.View_i::Update ( ) [virtual, inherited]

Reimplemented in VISU.XYPlot_i, and VISU.View3D_i.

CORBA::Boolean VISU.View_i::SavePicture ( const char *  theFileName) [virtual, inherited]
void VISU.View_i::ToStream ( std::ostringstream &  theStr) [virtual, inherited]

Implements VISU.Storable.

Reimplemented in VISU.View3D_i.

const char * VISU.View_i::GetComment ( ) const [virtual, inherited]

Implements VISU.Storable.

Reimplemented in VISU.View3D_i.

SUIT_ViewWindow * VISU.View_i::GetViewWindow ( ) [inherited]
void VISU.View_i::SetViewWindow ( SUIT_ViewWindow *  theViewWindow) [inherited]
std::string VISU.Storable::ToString ( ) [inherited]
void VISU.Storable::RegistryStorableEngine ( const std::string theComment,
TStorableEngine  theEngine 
) [static, inherited]
Storable * VISU.Storable::Create ( SALOMEDS::SObject_ptr  theSObject,
const std::string theLocalPersistentID,
const std::string thePrefix,
CORBA::Boolean  theIsMultiFile 
) [static, inherited]
VISU::VISUType VISU.Storable::Comment2Type ( const std::string theComment) [static, inherited]
VISU::VISUType VISU.Storable::RestoringMap2Type ( const TRestoringMap theRestoringMap) [static, inherited]
VISU::VISUType VISU.Storable::Stream2Type ( const std::string thePersistentString) [static, inherited]
VISU::VISUType VISU.Storable::SObject2Type ( const _PTR(SObject)&  theSObject) [static, inherited]

References VISU._PTR(), and VISU.TNONE.

std::string VISU.Storable::CorrectPersistentString ( const std::string thePersistentString) [static, inherited]
std::string VISU.Storable::FindEntry ( SALOMEDS::Study_ptr  theStudyDocument,
const std::string theStartEntry,
const TRestoringMap theRestoringMap,
int  IsAllLevels = true 
) [static, inherited]
QString VISU.Storable::FindValue ( const TRestoringMap theMap,
const std::string theArg,
bool *  theIsFind = NULL 
) [static, inherited]

References MESSAGE, and MYDEBUG.

QString VISU.Storable::FindValue ( const TRestoringMap theMap,
const std::string theArg,
const QString &  theDefaultValue 
) [static, inherited]
void VISU.Storable::StringToMap ( const QString &  theString,
TRestoringMap theMap 
) [static, inherited]
Storable::TRestoringMap VISU.Storable::GetStorableMap ( _PTR(SObject)  theSObject) [static, inherited]
static SALOMEDS::SObject_ptr VISU.Storable.GetResultSO ( SALOMEDS::SObject_ptr  theSObject) [static, inherited]
void VISU.Storable::DataToStream ( std::ostringstream &  theStr,
const QString &  theName,
const QString &  theVal 
) [static, inherited]
void VISU.Storable::DataToStream ( std::ostringstream &  theStr,
const QString &  theName,
int  theVal 
) [static, inherited]
void VISU.Storable::DataToStream ( std::ostringstream &  theStr,
const QString &  theName,
long  theVal 
) [static, inherited]
void VISU.Storable::DataToStream ( std::ostringstream &  theStr,
const QString &  theName,
double  theVal 
) [static, inherited]
CORBA::Boolean VISU.Storable::CanCopy ( SALOMEDS::SObject_ptr  theObject) [virtual, inherited]

Reimplemented in VISU.Result_i.

bool VISU.Storable::CopyFrom ( SALOMEDS::SObject_ptr  theObject,
CORBA::Long &  theObjectID,
const std::string theTmpDir,
TFileNames theFileNames 
) [virtual, inherited]

Reimplemented in VISU.Result_i.

References VISU_Example_06.aFileName.

char * VISU.Base_i::GetID ( ) [virtual, inherited]

Reimplemented in VISU.VISU_Gen_i, and VISU.VISU_Gen_i.

static CORBA::ORB_var VISU.Base_i.GetORB ( ) [static, inherited]
static PortableServer::POA_var VISU.Base_i.GetPOA ( ) [static, inherited]
static SALOME_NamingService* VISU.Base_i.GetNS ( ) [static, inherited]

References visu.myNamingService.

static SALOME_LifeCycleCORBA* VISU.Base_i.GetLCC ( ) [static, inherited]
static VISU_Gen_i* VISU.Base_i.GetVisuGenImpl ( ) [static, inherited]

Field Documentation

SalomeApp_Application* VISU.View_i.myApplication [inherited]
SUIT_ViewManager* VISU.View_i.myViewManager [inherited]
std::string VISU.Base_i.myID [protected, inherited]
QMutex * VISU.Base_i::myMutex = NULL [static, protected, inherited]
CORBA::ORB_var VISU.Base_i::myOrb [static, protected, inherited]
PortableServer::POA_var VISU.Base_i::myPoa [static, protected, inherited]
SALOME_NamingService * VISU.Base_i::myNamingService [static, protected, inherited]
VISU_Gen_i * VISU.Base_i::myVisuGenImpl [static, protected, inherited]
SALOME_LifeCycleCORBA * VISU.Base_i::myEnginesLifeCycle [static, protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS