Plugins/PointSprite/ParaViewPlugin/Qvis/AttributeGroup.cpp
int
AttributeGroup::NumAttributesSelected() const
{
    // See if any fields are selected. If none are selected
    // then we will assume that we want to write all of them since
    // it makes no sense to write none.
    int selectCount = 0;
    typeInfoVector::const_iterator pos;
    for(pos = typeMap.begin(); pos != typeMap.end(); ++pos)
    {
        if(pos->selected)
            ++selectCount;
    }

    return selectCount;
}
// ****************************************************************************
// Method: AttributeGroup::NumAttributesSelected
//
// Purpose:
//   Returns the number of attributes that are selected.
//
// Returns:
//   The number of attributes that are selected.
//
// Programmer: Brad Whitlock
// Creation:   Fri Aug 4 17:04:23 PST 2000
//
// Modifications:
//
// ****************************************************************************
:NumAttributesSelected
Purpose:
Returns the number of attributes that are selected.

The number of attributes that are selected.

Brad Whitlock
Creation:   Fri Aug 4 17:04:23 PST 2000


: NumAttributesSelected Purpose : Returns the number of attributes that are selected . The number of attributes that are selected . Brad Whitlock Creation : Fri Aug 4 17 : 04 : 23 PST 2000
int
AttributeGroup::NumAttributesSelected() const
{
    int selectCount = 0;
    typeInfoVector::const_iterator pos;
    for(pos = typeMap.begin(); pos != typeMap.end(); ++pos)
    {
        if(pos->selected)
            ++selectCount;
    }
    return selectCount;
}
int AttributeGroup :: NumAttributesSelected ( ) const { int selectCount = 0 ; typeInfoVector :: const_iterator pos ; for ( pos = typeMap . begin ( ) ; pos != typeMap . end ( ) ; ++ pos ) { if ( pos -> selected ) ++ selectCount ; } return selectCount ; }
Method: AttributeGroup::NumAttributesSelected
Purpose:
Returns the number of attributes that are selected.
Method : AttributeGroup :: NumAttributesSelected Purpose : Returns the number of attributes that are selected .
// See if any fields are selected. If none are selected // then we will assume that we want to write all of them since // it makes no sense to write none.