00001 00002 00003 00004 #ifndef included_ObjectPrinting_h 00005 #define included_ObjectPrinting_h 00006 00007 00008 #include <tbox_Pointer.h> 00009 #define tbox_Pointer tbox_Pointer 00010 #include <hier_PatchHierarchy2.h> 00011 #define hier_PatchHierarchyX hier_PatchHierarchy2 00012 #include <hier_PatchLevel2.h> 00013 #define hier_PatchLevelX hier_PatchLevel2 00014 #include <hier_PatchData2.h> 00015 #define hier_PatchDataX hier_PatchData2 00016 #include <pdat_ArrayData2.h> 00017 #define pdat_ArrayDataX pdat_ArrayData2 00018 #include <hier_Box2.h> 00019 #define hier_BoxX hier_Box2 00020 00021 00022 00026 int printObjectX( 00027 ostream &os 00028 , const SAMRAI::hier_PatchHierarchyX &hierarchy 00029 ); 00030 00031 00035 int printObjectX( 00036 ostream &os 00037 , const SAMRAI::hier_PatchLevelX &level 00038 ); 00039 00040 00044 int printObjectX( 00045 ostream &os 00046 , const SAMRAI::hier_BoxX &box 00047 ); 00048 00049 00053 int printObjectX( 00054 ostream &os 00055 , const SAMRAI::hier_PatchDataX &pdat 00056 ); 00057 00058 00062 int printObjectX( 00063 ostream &os 00064 , const double *a_ptr , const int *a_lower , const int *a_upper 00065 , const int *lower=NULL 00066 , const int *upper=NULL 00067 ); 00068 00069 00070 00074 template <class T> 00075 int printObjectX( 00076 ostream &os 00077 , const SAMRAI::pdat_ArrayDataX<T> &adat 00078 ); 00079 00080 00081 #endif // included_ObjectPrinting_h