cgma
CAMergeStatus Class Reference

#include <CAMergeStatus.hpp>

Inheritance diagram for CAMergeStatus:
CubitAttrib

List of all members.

Public Member Functions

 CAMergeStatus (RefEntity *, const CubitSimpleAttrib &)
virtual ~CAMergeStatus ()
virtual CubitSimpleAttrib cubit_simple_attrib ()
virtual CubitStatus actuate ()
virtual CubitStatus update ()
virtual CubitStatus reset ()
virtual int int_attrib_type ()

Private Attributes

AutoMergeStatus status

Detailed Description

Definition at line 21 of file CAMergeStatus.hpp.


Constructor & Destructor Documentation

Definition at line 22 of file CAMergeStatus.cpp.

  : CubitAttrib( owner )
{ 
  status = AUTO_MERGE_AUTO;
  if(!csa.isEmpty())
  {
    assert( csa.int_data_list().size() == 1 );
    int i = csa.int_data_list()[0];
    assert( i == 0 || i == 1 || i == 2 );
    status = (AutoMergeStatus)i;
  }
}

Definition at line 35 of file CAMergeStatus.cpp.

{ }

Member Function Documentation

Implements CubitAttrib.

Definition at line 82 of file CAMergeStatus.cpp.

{
  if( deleteAttrib )
    return CubitSimpleAttrib();
  
  assert( status != AUTO_MERGE_AUTO );

  std::vector<CubitString> string_list;
  string_list.push_back(att_internal_name());
  
  int int_data = (int)status;
  std::vector<int> int_list;
  int_list.push_back( int_data );
  
  return CubitSimpleAttrib( &string_list, 0, &int_list );
}
int CAMergeStatus::int_attrib_type ( ) [virtual]

Implements CubitAttrib.

Definition at line 99 of file CAMergeStatus.cpp.

{
  return CA_MERGE_STATUS;
}

Implements CubitAttrib.

Definition at line 77 of file CAMergeStatus.cpp.

{
  return CUBIT_SUCCESS;
}

Member Data Documentation

Definition at line 25 of file CAMergeStatus.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines