mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Some DLL_HEADERs for Windows
This commit is contained in:
parent
82c61f04a8
commit
0fc62e7920
@ -592,8 +592,8 @@ namespace netgen
|
|||||||
///
|
///
|
||||||
DLL_HEADER void SetMaterial (int domnr, const string & mat);
|
DLL_HEADER void SetMaterial (int domnr, const string & mat);
|
||||||
///
|
///
|
||||||
const string & GetMaterial (int domnr) const;
|
DLL_HEADER const string & GetMaterial (int domnr) const;
|
||||||
static string defaultmat;
|
DLL_HEADER static string defaultmat;
|
||||||
const string * GetMaterialPtr (int domnr) const // 1-based
|
const string * GetMaterialPtr (int domnr) const // 1-based
|
||||||
{
|
{
|
||||||
return domnr <= materials.Size() ? materials.Get(domnr) : &defaultmat;
|
return domnr <= materials.Size() ? materials.Get(domnr) : &defaultmat;
|
||||||
@ -603,13 +603,13 @@ namespace netgen
|
|||||||
|
|
||||||
DLL_HEADER void SetBCName ( int bcnr, const string & abcname );
|
DLL_HEADER void SetBCName ( int bcnr, const string & abcname );
|
||||||
|
|
||||||
const string & GetBCName ( int bcnr ) const;
|
DLL_HEADER const string & GetBCName ( int bcnr ) const;
|
||||||
|
|
||||||
DLL_HEADER void SetNCD2Names (int ncd2n);
|
DLL_HEADER void SetNCD2Names (int ncd2n);
|
||||||
DLL_HEADER void SetCD2Name (int cd2nr, const string & abcname);
|
DLL_HEADER void SetCD2Name (int cd2nr, const string & abcname);
|
||||||
|
|
||||||
const string & GetCD2Name (int cd2nr ) const;
|
DLL_HEADER const string & GetCD2Name (int cd2nr ) const;
|
||||||
static string cd2_default_name;
|
DLL_HEADER static string cd2_default_name;
|
||||||
string * GetCD2NamePtr (int cd2nr ) const
|
string * GetCD2NamePtr (int cd2nr ) const
|
||||||
{
|
{
|
||||||
if (cd2nr < cd2names.Size() && cd2names[cd2nr]) return cd2names[cd2nr];
|
if (cd2nr < cd2names.Size() && cd2names[cd2nr]) return cd2names[cd2nr];
|
||||||
|
Loading…
Reference in New Issue
Block a user