本文整理汇总了C++中STEPid函数的典型用法代码示例。如果您正苦于以下问题:C++ STEPid函数的具体用法?C++ STEPid怎么用?C++ STEPid使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了STEPid函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: TAB
void
TrimmedCurve::Print(int level)
{
TAB(level);
std::cout << CLASSNAME << ":" << name << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level);
std::cout << "Attributes:" << std::endl;
basis_curve->Print(level + 1);
TAB(level);
std::cout << "trim_1:" << std::endl;
LIST_OF_TRIMMING_SELECT::iterator i;
for (i = trim_1.begin(); i != trim_1.end(); i++) {
(*i)->Print(level + 1);
}
TAB(level);
std::cout << "trim_2:" << std::endl;
for (i = trim_2.begin(); i != trim_2.end(); i++) {
(*i)->Print(level + 1);
}
TAB(level);
std::cout << "sense_agreement:" << step->getBooleanString(sense_agreement) << std::endl;
TAB(level);
std::cout << "master_representation:" << Trimming_preference_string[master_representation] << std::endl;
}
示例2: TAB
void
RectangularCompositeSurface::Print(int level)
{
TAB(level);
std::cout << CLASSNAME << ":" << name << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level);
std::cout << "Attributes:" << std::endl;
TAB(level + 1);
std::cout << "segments:" << std::endl;
LIST_OF_LIST_OF_PATCHES::iterator i;
int cnt = 0;
for (i = segments->begin(); i != segments->end(); ++i) {
LIST_OF_PATCHES::iterator j;
LIST_OF_PATCHES *p = *i;
TAB(level + 1);
std::cout << "surface_patch " << cnt++ << ":" << std::endl;
for (j = p->begin(); j != p->end(); ++j) {
(*j)->Print(level + 1);
}
}
TAB(level);
std::cout << "Inherited Attributes:" << std::endl;
BoundedSurface::Print(level + 1);
}
示例3: TAB
void
CharacterizedProductDefinition::Print(int level) {
TAB(level); std::cout << CLASSNAME << ":" << entityname << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level); std::cout << "Attributes:" << std::endl;
//todo: expand out to print actual select type
TAB(level+1); std::cout << "definition: ";
if (type == CharacterizedProductDefinition::PRODUCT_DEFINITION) {
std::cout << "PRODUCT_DEFINITION" << std::endl;
ProductDefinition *aPD = dynamic_cast<ProductDefinition *>(definition);
if (aPD) {
aPD->Print(level+2);
} else {
TAB(level+2); std::cout << "PRODUCT_DEFINITION == NULL" << std::endl;
}
} else if (type == CharacterizedProductDefinition::PRODUCT_DEFINITION_RELATIONSHIP) {
std::cout << "PRODUCT_DEFINITION_RELATIONSHIP" << std::endl;
ProductDefinitionRelationship *aPDR = dynamic_cast<ProductDefinitionRelationship *>(definition);
if (aPDR) {
aPDR->Print(level+2);
} else {
TAB(level+2); std::cout << "PRODUCT_DEFINITION_RELATIONSHIP == NULL" << std::endl;
}
} else {
std::cout << "UNKNOWN" << std::endl;
}
}
示例4: TAB
void
RepresentedDefinition::Print(int level) {
TAB(level); std::cout << CLASSNAME << ":" << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level); std::cout << "Attributes:" << std::endl;
if (type == GENERAL_PROPERTY) {
TAB(level+1); std::cout << "Type:" << represented_definition_type_names[type] << " Value:" << std::endl;
//entity->Print(level+1);
} else if (type == PROPERTY_DEFINITION) {
TAB(level+1); std::cout << "Type:" << represented_definition_type_names[type] << " Value:" << std::endl;
//entity->Print(level+1);
} else if (type == PROPERTY_DEFINITION_RELATIONSHIP) {
TAB(level+1); std::cout << "Type:" << represented_definition_type_names[type] << " Value:" << std::endl;
//entity->Print(level+1);
} else if (type == SHAPE_ASPECT) {
TAB(level+1); std::cout << "Type:" << represented_definition_type_names[type] << " Value:" << std::endl;
//entity->Print(level+1);
} else if (type == SHAPE_ASPECT_RELATIONSHIP) {
TAB(level+1); std::cout << "Type:" << represented_definition_type_names[type] << " Value:" << std::endl;
//entity->Print(level+1);
} else {
TAB(level+1); std::cout << "Type:" << "UNKNOWN" << " Value:" << std::endl;
}
}
示例5: TAB
void
Vertex::Print(int level)
{
TAB(level);
std::cout << CLASSNAME << ":" << name << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
}
示例6: TAB
void
BSplineSurfaceWithKnots::Print(int level) {
TAB(level); std::cout << CLASSNAME << ":" << name << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level); std::cout << "Attributes:" << std::endl;
TAB(level+1); std::cout << "u_multiplicities:";
LIST_OF_INTEGERS::iterator ii;
for(ii=u_multiplicities.begin();ii!=u_multiplicities.end();ii++) {
std::cout << " " << (*ii);
}
std::cout << std::endl;
TAB(level+1); std::cout << "v_multiplicities:";
for(ii=v_multiplicities.begin();ii!=v_multiplicities.end();ii++) {
std::cout << " " << (*ii);
}
std::cout << std::endl;
TAB(level+1); std::cout << "u_knots:";
LIST_OF_REALS::iterator ir;
for(ir=u_knots.begin();ir!=u_knots.end();ir++) {
std::cout << " " << (*ir);
}
std::cout << std::endl;
TAB(level+1); std::cout << "v_knots:";
for(ir=v_knots.begin();ir!=v_knots.end();ir++) {
std::cout << " " << (*ir);
}
std::cout << std::endl;
TAB(level+1); std::cout << "knot_spec:" << Knot_type_string[knot_spec] << std::endl;
TAB(level); std::cout << "Inherited Attributes:" << std::endl;
BSplineSurface::Print(level+1);
}
示例7: TAB
void
CartesianTransformationOperator::Print(int level)
{
TAB(level);
std::cout << CLASSNAME << ":" << GeometricRepresentationItem::name << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level);
std::cout << "Attributes:" << std::endl;
if (axis1) {
TAB(level + 1);
std::cout << "axis1:" << std::endl;
axis1->Print(level + 1);
}
if (axis2) {
TAB(level + 1);
std::cout << "axis2:" << std::endl;
axis2->Print(level + 1);
}
TAB(level + 1);
std::cout << "local_origin:" << std::endl;
local_origin->Print(level + 1);
TAB(level + 1);
std::cout << "scale: " << scale << std::endl;
TAB(level);
std::cout << "Inherited Attributes:" << std::endl;
GeometricRepresentationItem::Print(level + 1);
}
示例8: TAB
void
CurveBoundedSurface::Print(int level)
{
TAB(level);
std::cout << CLASSNAME << ":" << name << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level);
std::cout << "Attributes:" << std::endl;
basis_surface->Print(level + 1);
TAB(level + 1);
std::cout << "boundaries:" << std::endl;
LIST_OF_BOUNDARIES::iterator i;
for (i = boundaries.begin(); i != boundaries.end(); ++i) {
(*i)->Print(level + 1);
}
TAB(level + 1);
std::cout << "implicit_outer:" << step->getBooleanString((Boolean)implicit_outer) << std::endl;
TAB(level);
std::cout << "Inherited Attributes:" << std::endl;
BoundedSurface::Print(level + 1);
}
示例9: TAB
void
ClosedShell::Print(int level) {
TAB(level); std::cout << CLASSNAME << ":" << name << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level); std::cout << "Inherited Attributes:" << std::endl;
ConnectedFaceSet::Print(level+1);
}
示例10: TAB
void
QuasiUniformSurface::Print(int level) {
TAB(level); std::cout << CLASSNAME << ":" << name << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level); std::cout << "Inherited:" << std::endl;
BSplineSurface::Print(level+1);
}
示例11: TAB
void
BoundedSurface::Print(int level) {
TAB(level); std::cout << CLASSNAME << ":" << name << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level); std::cout << "Inherited Attributes:" << std::endl;
Surface::Print(level+1);
}
示例12: TAB
void
TimeUnit::Print(int level) {
TAB(level); std::cout << CLASSNAME << ":" << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level); std::cout << "Inherited Attributes:" << std::endl;
NamedUnit::Print(level+1);
}
示例13: TAB
void
SolidModel::Print(int level)
{
TAB(level);
std::cout << CLASSNAME << ":" << name << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
GeometricRepresentationItem::Print(level);
}
示例14: TAB
void
PlaneAngleMeasureWithUnit::Print(int level) {
TAB(level); std::cout << CLASSNAME << ":" << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level); std::cout << "Inherited Attributes:" << std::endl;
MeasureWithUnit::Print(level+1);
}
示例15: TAB
void
FunctionallyDefinedTransformation::Print(int level) {
TAB(level); std::cout << CLASSNAME << ":" << "(";
std::cout << "ID:" << STEPid() << ")" << std::endl;
TAB(level); std::cout << "Attributes:" << std::endl;
TAB(level+1); std::cout << "name:" << name << std::endl;
TAB(level+1); std::cout << "description:" << description << std::endl;
}