mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-11 02:34:33 +05:00
64 bit NumberOfSegments
This commit is contained in:
parent
a72d53be4f
commit
2507fe6a42
@ -169,7 +169,7 @@ module StdMeshers
|
||||
/*!
|
||||
* Sets <number of segments> parameter value
|
||||
*/
|
||||
void SetNumberOfSegments(in long segmentsNumber)
|
||||
void SetNumberOfSegments(in SMESH::smIdType segmentsNumber)
|
||||
raises (SALOME::SALOME_Exception);
|
||||
|
||||
/*!
|
||||
|
@ -60,9 +60,10 @@ namespace SMESH
|
||||
size_t TPythonDump::myCounter = 0;
|
||||
const char theNotPublishedObjectName[] = "__NOT__Published__Object__";
|
||||
|
||||
TVar::TVar(CORBA::Double value):myVals(1), myIsList(false) { myVals[0] = SMESH_Comment(value); }
|
||||
TVar::TVar(CORBA::Long value):myVals(1), myIsList(false) { myVals[0] = SMESH_Comment(value); }
|
||||
TVar::TVar(CORBA::Short value):myVals(1), myIsList(false) { myVals[0] = SMESH_Comment(value); }
|
||||
TVar::TVar(CORBA::Double value):myVals(1), myIsList(false) { myVals[0] = SMESH_Comment(value); }
|
||||
TVar::TVar(CORBA::Long value):myVals(1), myIsList(false) { myVals[0] = SMESH_Comment(value); }
|
||||
TVar::TVar(SMESH::smIdType value):myVals(1), myIsList(false) { myVals[0] = SMESH_Comment(value); }
|
||||
TVar::TVar(CORBA::Short value):myVals(1), myIsList(false) { myVals[0] = SMESH_Comment(value); }
|
||||
TVar::TVar(const SMESH::double_array& value):myVals(value.length()), myIsList(true)
|
||||
{
|
||||
for ( size_t i = 0; i < value.length(); i++)
|
||||
|
@ -99,9 +99,10 @@ namespace SMESH
|
||||
{
|
||||
std::vector< std::string > myVals;
|
||||
bool myIsList;
|
||||
TVar(CORBA::Double value);
|
||||
TVar(CORBA::Long value);
|
||||
TVar(CORBA::Short value);
|
||||
TVar(CORBA::Double value);
|
||||
TVar(CORBA::Long value);
|
||||
TVar(SMESH::smIdType value);
|
||||
TVar(CORBA::Short value);
|
||||
TVar(const SMESH::double_array& value);
|
||||
// string used to temporary quote variable names in order
|
||||
// not to confuse variables with string arguments
|
||||
|
@ -127,7 +127,7 @@ StdMeshers_NumberOfSegments_i::BuildDistributionTab( const SMESH::double_array&
|
||||
*/
|
||||
//=============================================================================
|
||||
|
||||
void StdMeshers_NumberOfSegments_i::SetNumberOfSegments( CORBA::Long theSegmentsNumber )
|
||||
void StdMeshers_NumberOfSegments_i::SetNumberOfSegments( SMESH::smIdType theSegmentsNumber )
|
||||
{
|
||||
ASSERT( myBaseImpl );
|
||||
try {
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
SMESH::double_array* BuildDistributionTab( const SMESH::double_array&, CORBA::Long, CORBA::Long );
|
||||
|
||||
// Set number of segments
|
||||
void SetNumberOfSegments( CORBA::Long theSegmentsNumber );
|
||||
void SetNumberOfSegments( SMESH::smIdType theSegmentsNumber );
|
||||
// Get number of segments
|
||||
CORBA::Long GetNumberOfSegments();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user