MCPcopy Create free account
hub / github.com/Kitware/VTK / GetNumberOfAttributes

Method GetNumberOfAttributes

Common/DataModel/vtkGenericAttributeCollection.cxx:90–96  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Number of attributes.

Source from the content-addressed store, hash-verified

88// Description:
89// Number of attributes.
90int vtkGenericAttributeCollection::GetNumberOfAttributes()
91{
92 int result = static_cast<int>(this->AttributeInternalVector->Vector.size());
93 // assert("post: positive_result" && result>=0); size() is an unsigned type according to STL
94 // vector definition
95 return result;
96}
97
98//------------------------------------------------------------------------------
99int vtkGenericAttributeCollection::GetNumberOfComponents()

Callers 15

PrintSelfMethod · 0.95
IsEmptyMethod · 0.95
GetAttributeMethod · 0.95
FindAttributeMethod · 0.95
GetAttributeIndexMethod · 0.95
InsertNextAttributeMethod · 0.95
InsertAttributeMethod · 0.95
RemoveAttributeMethod · 0.95
DeepCopyMethod · 0.95
ShallowCopyMethod · 0.95
GetMTimeMethod · 0.95
ComputeNumbersMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected