mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 02:00:34 +05:00
Compilation on Windows.
This commit is contained in:
parent
0a447a3701
commit
b47d85eb4a
@ -20,6 +20,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "MED_Wrapper.hxx"
|
#include "MED_Wrapper.hxx"
|
||||||
|
#include "MED_WrapperDef.hxx"
|
||||||
|
|
||||||
namespace MED
|
namespace MED
|
||||||
{
|
{
|
||||||
@ -32,7 +33,7 @@ namespace MED
|
|||||||
virtual const TIdt& Id() const = 0;
|
virtual const TIdt& Id() const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MEDIDTHoder : public TFileInternal
|
class MEDWRAPPER_EXPORT MEDIDTHoder : public TFileInternal
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
MEDIDTHoder(bool *isClosedStatus = nullptr):_isClosedStatus(isClosedStatus) { }
|
MEDIDTHoder(bool *isClosedStatus = nullptr):_isClosedStatus(isClosedStatus) { }
|
||||||
@ -57,7 +58,7 @@ namespace MED
|
|||||||
bool *_isClosedStatus = nullptr;
|
bool *_isClosedStatus = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
class TFileDecorator : public TFileInternal
|
class MEDWRAPPER_EXPORT TFileDecorator : public TFileInternal
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TFileDecorator(TFileInternal *effective):_effective(effective) { }
|
TFileDecorator(TFileInternal *effective):_effective(effective) { }
|
||||||
@ -69,7 +70,7 @@ namespace MED
|
|||||||
TFileInternal *_effective = nullptr;
|
TFileInternal *_effective = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
class TMemFile : public MEDIDTHoder
|
class MEDWRAPPER_EXPORT TMemFile : public MEDIDTHoder
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TMemFile(bool* isClosedStatus = nullptr):MEDIDTHoder(isClosedStatus) { }
|
TMemFile(bool* isClosedStatus = nullptr):MEDIDTHoder(isClosedStatus) { }
|
||||||
@ -80,7 +81,7 @@ namespace MED
|
|||||||
med_memfile memfile = MED_MEMFILE_INIT;
|
med_memfile memfile = MED_MEMFILE_INIT;
|
||||||
};
|
};
|
||||||
|
|
||||||
class TFile : public MEDIDTHoder
|
class MEDWRAPPER_EXPORT TFile : public MEDIDTHoder
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
TFile(const std::string& theFileName, TInt theMajor=-1, TInt theMinor=-1);
|
TFile(const std::string& theFileName, TInt theMajor=-1, TInt theMinor=-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user