DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Image.ih
1 
30 
31 #include <cstdlib>
33 
35 // IMPLEMENTATION of inline methods.
37 
39 // ----------------------- Standard services ------------------------------
40 
41 
43 // Interface - public :
44 
49 template <typename T>
50 inline
51 void
52 DGtal::Image<T>::selfDisplay ( std::ostream & out ) const
53 {
54  out << "[Image] "<< myImagePointer ;
55 }
56 
57 
58 
60 // Implementation of inline functions //
61 
62 template <typename T>
63 inline
64 std::ostream&
65 DGtal::operator<< ( std::ostream & out,
66  const Image<T> & object )
67 {
68  object.selfDisplay( out );
69  return out;
70 }
71 
72 // //
74 
75