}
else {
SALOMEDS::LongSeq_var aRow = SALOMEDS::AttributeTableOfInteger::_narrow(_corba_impl)->GetRow(theRow);
+ aLength = aRow->length();
for (i = 0; i < aLength; i++) aVector.push_back(aRow[i]);
}
Handle(TColStd_HSequenceOfInteger) aColumn = new TColStd_HSequenceOfInteger;
for (int i = 0; i < aLength; i++) aColumn->Append(theData[i]);
try {
- aTable->SetRowData(theColumn, aColumn);
+ aTable->SetColumnData(theColumn, aColumn);
}
catch(...) {
throw SALOMEDS::AttributeTableOfInteger::IncorrectArgumentLength();
SALOMEDS::LongSeq_var aColumn = new SALOMEDS::LongSeq();
aColumn->length(aLength);
for (i = 0; i < aLength; i++) aColumn[i] = theData[i];
- SALOMEDS::AttributeTableOfInteger::_narrow(_corba_impl)->SetRow(theColumn, aColumn);
+ SALOMEDS::AttributeTableOfInteger::_narrow(_corba_impl)->SetColumn(theColumn, aColumn);
}
}
}
else {
SALOMEDS::LongSeq_var aColumn = SALOMEDS::AttributeTableOfInteger::_narrow(_corba_impl)->GetColumn(theColumn);
+ aLength = aColumn->length();
for (i = 0; i < aLength; i++) aVector.push_back(aColumn[i]);
}
return aVector;
else {
SALOMEDS::LongSeq_var aSet =
SALOMEDS::AttributeTableOfInteger::_narrow(_corba_impl)->GetRowSetIndices(theRow);
+ aLength = aSet->length();
for (i = 0; i < aLength; i++) aVector.push_back(aSet[i]);
}
return aVector;
}
else {
SALOMEDS::DoubleSeq_var aRow = SALOMEDS::AttributeTableOfReal::_narrow(_corba_impl)->GetRow(theRow);
+ aLength = aRow->length();
for (i = 0; i < aLength; i++) aVector.push_back(aRow[i]);
}
Handle(TColStd_HSequenceOfReal) aColumn = new TColStd_HSequenceOfReal;
for (int i = 0; i < aLength; i++) aColumn->Append(theData[i]);
try {
- aTable->SetRowData(theColumn, aColumn);
+ aTable->SetColumnData(theColumn, aColumn);
}
catch(...) {
throw SALOMEDS::AttributeTableOfReal::IncorrectArgumentLength();
SALOMEDS::DoubleSeq_var aColumn = new SALOMEDS::DoubleSeq();
aColumn->length(aLength);
for (i = 0; i < aLength; i++) aColumn[i] = theData[i];
- SALOMEDS::AttributeTableOfReal::_narrow(_corba_impl)->SetRow(theColumn, aColumn);
+ SALOMEDS::AttributeTableOfReal::_narrow(_corba_impl)->SetColumn(theColumn, aColumn);
}
}
}
else {
SALOMEDS::DoubleSeq_var aColumn = SALOMEDS::AttributeTableOfReal::_narrow(_corba_impl)->GetColumn(theColumn);
+ aLength = aColumn->length();
for (i = 0; i < aLength; i++) aVector.push_back(aColumn[i]);
}
return aVector;
}
else {
SALOMEDS::LongSeq_var aSet = SALOMEDS::AttributeTableOfReal::_narrow(_corba_impl)->GetRowSetIndices(theRow);
+ aLength = aSet->length();
for (i = 0; i < aLength; i++) aVector.push_back(aSet[i]);
}
return aVector;
}
else {
SALOMEDS::StringSeq_var aRow = SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->GetRow(theRow);
+ aLength = aRow->length();
for (i = 0; i < aLength; i++) aVector.push_back((char*)aRow[i].in());
}
Handle(TColStd_HSequenceOfExtendedString) aColumn = new TColStd_HSequenceOfExtendedString;
for (int i = 0; i < aLength; i++) aColumn->Append((char*)theData[i].c_str());
try {
- aTable->SetRowData(theColumn, aColumn);
+ aTable->SetColumnData(theColumn, aColumn);
}
catch(...) {
throw SALOMEDS::AttributeTableOfString::IncorrectArgumentLength();
SALOMEDS::StringSeq_var aColumn = new SALOMEDS::StringSeq();
aColumn->length(aLength);
for (i = 0; i < aLength; i++) aColumn[i] = (char*)theData[i].c_str();
- SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->SetRow(theColumn, aColumn);
+ SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->SetColumn(theColumn, aColumn);
}
}
else {
SALOMEDS::StringSeq_var aColumn =
SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->GetColumn(theColumn);
+ aLength = aColumn->length();
for (i = 0; i < aLength; i++) aVector.push_back(aColumn[i].in());
}
return aVector;
else {
SALOMEDS::LongSeq_var aSet =
SALOMEDS::AttributeTableOfString::_narrow(_corba_impl)->GetRowSetIndices(theRow);
+ aLength = aSet->length();
for (i = 0; i < aLength; i++) aVector.push_back(aSet[i]);
}
return aVector;