Back to index

salome-paravis  6.5.0
Classes | Defines | Functions
vtkMedUtilities.h File Reference
#include "vtkObject.h"
#include "vtkSmartPointer.h"
#include "vtkMultiBlockDataSet.h"
#include "vtkStringArray.h"
#include "vtkMedSetGet.h"
#include "vtkMed.h"
#include "vtkMedReader.h"
#include <utility>
#include <string>
#include <vector>
#include <list>
#include <set>
#include <map>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vtkMedComputeStep
class  vtkMedEntity
protocol  VTK_EXPORT
class  vtkObjectVector< T >
class  vtkMedComputeStepMap< T >
class  vtkList< T >
struct  IsSameTraits< T1, T2 >
struct  IsSameTraits< T1, T1 >

Defines

#define PRINT_IVAR(os, indent, name)   os << indent << #name << " : " << name << endl;
#define PRINT_STRING(os, indent, name)   os << indent << #name << " : " << ( name ? name : "(void)") << endl;
#define PRINT_OBJECT(os, indent, name)
#define PRINT_VECTOR(os, indent, name, size)
#define PRINT_OBJECT_VECTOR(os, indent, name)
#define PRINT_STRING_VECTOR(os, indent, name)
#define PRINT_MED_STRING(os, indent, name)   os << indent << #name << ": " << this->name->GetString() << endl; \

Functions

bool operator== (const vtkMedComputeStep &cs0, const vtkMedComputeStep &cs1)
bool operator!= (const vtkMedComputeStep &cs0, const vtkMedComputeStep &cs1)
bool operator< (const vtkMedComputeStep &cs0, const vtkMedComputeStep &cs1)
bool operator== (const vtkMedEntity &cs0, const vtkMedEntity &cs1)
bool operator!= (const vtkMedEntity &cs0, const vtkMedEntity &cs1)
bool operator< (const vtkMedEntity &cs0, const vtkMedEntity &cs1)

Define Documentation

#define PRINT_IVAR (   os,
  indent,
  name 
)    os << indent << #name << " : " << name << endl;

Definition at line 409 of file vtkMedUtilities.h.

#define PRINT_MED_STRING (   os,
  indent,
  name 
)    os << indent << #name << ": " << this->name->GetString() << endl; \

Definition at line 463 of file vtkMedUtilities.h.

#define PRINT_OBJECT (   os,
  indent,
  name 
)
Value:
os << indent << #name << " : " ;\
  if(name != NULL) \
  {\
    os << endl;\
    name->PrintSelf(os, indent.GetNextIndent());\
  }\
  else os << "(NULL)" << endl;

Definition at line 415 of file vtkMedUtilities.h.

#define PRINT_OBJECT_VECTOR (   os,
  indent,
  name 
)
Value:
{\
  os << indent << #name;\
  os << endl;\
  vtkIdType _size = name->size();\
  for(vtkIdType _index = 0; _index < _size; _index++)\
  {\
  os << indent << #name << _index << " : " << endl;\
  if(name->at(_index) != NULL)\
    name->at(_index)->PrintSelf(os, indent.GetNextIndent());\
  else\
    os << indent.GetNextIndent() << "(NULL)" << endl;\
  }\
}

Definition at line 436 of file vtkMedUtilities.h.

#define PRINT_STRING (   os,
  indent,
  name 
)    os << indent << #name << " : " << ( name ? name : "(void)") << endl;

Definition at line 412 of file vtkMedUtilities.h.

#define PRINT_STRING_VECTOR (   os,
  indent,
  name 
)
Value:
{\
  os << indent << #name << ": ";\
  for(int _comp = 0; _comp<this->name->size(); _comp++)\
    {\
    os << this->name->at(_comp)->GetString();\
    if(_comp < this->name->size()-1)\
      os << ", ";\
    }\
  os << endl;\
}

Definition at line 451 of file vtkMedUtilities.h.

#define PRINT_VECTOR (   os,
  indent,
  name,
  size 
)
Value:
{\
  os << indent << #name << " : (";\
  for(vtkIdType _index = 0; _index<size; _index++)\
    {\
    os << name[_index];\
    if(_index < size-1)\
      os << ", ";\
    }\
  os << ")" << endl;\
}

Definition at line 424 of file vtkMedUtilities.h.


Function Documentation

bool operator!= ( const vtkMedComputeStep cs0,
const vtkMedComputeStep cs1 
)

Definition at line 863 of file vtkMedUtilities.cxx.

{
  return cs0.IterationIt != cs1.IterationIt || cs0.TimeIt != cs1.TimeIt;
}
bool operator!= ( const vtkMedEntity cs0,
const vtkMedEntity cs1 
)

Definition at line 880 of file vtkMedUtilities.cxx.

{
  return e0.EntityType != e1.EntityType || e0.GeometryType != e1.GeometryType;
}
bool operator< ( const vtkMedComputeStep cs0,
const vtkMedComputeStep cs1 
)

Definition at line 868 of file vtkMedUtilities.cxx.

{
  if(cs0.IterationIt != cs1.IterationIt)
    return cs0.IterationIt < cs1.IterationIt;
  return cs0.TimeIt < cs1.TimeIt;
}
bool operator< ( const vtkMedEntity cs0,
const vtkMedEntity cs1 
)

Definition at line 885 of file vtkMedUtilities.cxx.

{
  if(e0.EntityType != e1.EntityType)
    return e0.EntityType < e1.EntityType;
  return e0.GeometryType < e1.GeometryType;
}
bool operator== ( const vtkMedComputeStep cs0,
const vtkMedComputeStep cs1 
)

Definition at line 858 of file vtkMedUtilities.cxx.

{
  return cs0.IterationIt == cs1.IterationIt && cs0.TimeIt == cs1.TimeIt;
}
bool operator== ( const vtkMedEntity cs0,
const vtkMedEntity cs1 
)

Definition at line 875 of file vtkMedUtilities.cxx.

{
  return e0.EntityType == e1.EntityType && e0.GeometryType == e1.GeometryType;
}