mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
Issue 0020370: Symbols multi defined
This commit is contained in:
parent
bd5c3ea6d2
commit
23636c1eb3
@ -3250,3 +3250,35 @@ void ElementsOnShape::process (const SMDS_MeshElement* theElemPtr)
|
|||||||
if (isSatisfy)
|
if (isSatisfy)
|
||||||
myIds.Add(theElemPtr->GetID());
|
myIds.Add(theElemPtr->GetID());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TSequenceOfXYZ::TSequenceOfXYZ()
|
||||||
|
{}
|
||||||
|
|
||||||
|
TSequenceOfXYZ::TSequenceOfXYZ(size_type n) : std::vector<gp_XYZ>(n)
|
||||||
|
{}
|
||||||
|
|
||||||
|
TSequenceOfXYZ::TSequenceOfXYZ(size_type n, const value_type& t) : std::vector<gp_XYZ>(n,t)
|
||||||
|
{}
|
||||||
|
|
||||||
|
TSequenceOfXYZ::TSequenceOfXYZ(const TSequenceOfXYZ& theSequenceOfXYZ) : std::vector<gp_XYZ>(theSequenceOfXYZ)
|
||||||
|
{}
|
||||||
|
|
||||||
|
template <class InputIterator>
|
||||||
|
TSequenceOfXYZ::TSequenceOfXYZ(InputIterator theBegin, InputIterator theEnd): std::vector<gp_XYZ>(theBegin,theEnd)
|
||||||
|
{}
|
||||||
|
|
||||||
|
TSequenceOfXYZ& TSequenceOfXYZ::operator=(const TSequenceOfXYZ& theSequenceOfXYZ)
|
||||||
|
{
|
||||||
|
std::vector<gp_XYZ>::operator=(theSequenceOfXYZ);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<gp_XYZ>::reference TSequenceOfXYZ::operator()(size_type n)
|
||||||
|
{
|
||||||
|
return std::vector<gp_XYZ>::operator[](n-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<gp_XYZ>::const_reference TSequenceOfXYZ::operator()(size_type n) const
|
||||||
|
{
|
||||||
|
return std::vector<gp_XYZ>::operator[](n-1);
|
||||||
|
}
|
||||||
|
@ -71,39 +71,22 @@ namespace SMESH{
|
|||||||
class SMESHCONTROLS_EXPORT TSequenceOfXYZ: public std::vector<gp_XYZ>
|
class SMESHCONTROLS_EXPORT TSequenceOfXYZ: public std::vector<gp_XYZ>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef std::vector<gp_XYZ> TSuperClass;
|
TSequenceOfXYZ();
|
||||||
TSequenceOfXYZ()
|
|
||||||
{}
|
|
||||||
|
|
||||||
TSequenceOfXYZ(size_type n):
|
TSequenceOfXYZ(size_type n);
|
||||||
TSuperClass(n)
|
|
||||||
{}
|
|
||||||
|
|
||||||
TSequenceOfXYZ(size_type n, const value_type& t):
|
TSequenceOfXYZ(size_type n, const value_type& t);
|
||||||
TSuperClass(n,t)
|
|
||||||
{}
|
|
||||||
|
|
||||||
TSequenceOfXYZ(const TSequenceOfXYZ& theSequenceOfXYZ):
|
TSequenceOfXYZ(const TSequenceOfXYZ& theSequenceOfXYZ);
|
||||||
TSuperClass(theSequenceOfXYZ)
|
|
||||||
{}
|
|
||||||
|
|
||||||
template <class InputIterator>
|
template <class InputIterator>
|
||||||
TSequenceOfXYZ(InputIterator theBegin, InputIterator theEnd):
|
TSequenceOfXYZ(InputIterator theBegin, InputIterator theEnd);
|
||||||
TSuperClass(theBegin,theEnd)
|
|
||||||
{}
|
|
||||||
|
|
||||||
TSequenceOfXYZ& operator=(const TSequenceOfXYZ& theSequenceOfXYZ){
|
TSequenceOfXYZ& operator=(const TSequenceOfXYZ& theSequenceOfXYZ);
|
||||||
TSuperClass::operator=(theSequenceOfXYZ);
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
reference operator()(size_type n){
|
reference operator()(size_type n);
|
||||||
return TSuperClass::operator[](n-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
const_reference operator()(size_type n) const{
|
const_reference operator()(size_type n) const;
|
||||||
return TSuperClass::operator[](n-1);
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
reference operator[](size_type n);
|
reference operator[](size_type n);
|
||||||
|
Loading…
Reference in New Issue
Block a user