Program: gdcm
Module: $RCSfile: gdcmUtil.h,v $
Language: C++
- Date: $Date: 2004/10/27 22:58:06 $
- Version: $Revision: 1.38 $
+ Date: $Date: 2004/11/10 18:27:24 $
+ Version: $Revision: 1.42 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
static std::string NormalizePath(std::string const & name);
static std::string GetPath(std::string const &fullName);
static std::string GetName(std::string const &fullName);
+ static std::string GetCurrentDate();
+ static std::string GetCurrentTime();
+
+ static std::string DicomString(const char* s, size_t l);
+ static std::string DicomString(const char* s);
};
+
+ template <class T>
+ GDCM_EXPORT std::ostream& binary_write(std::ostream& os, const T& val);
+ GDCM_EXPORT std::ostream& binary_write(std::ostream& os, const uint16_t& val);
+ GDCM_EXPORT std::ostream& binary_write(std::ostream& os, const uint32_t& val);
+ GDCM_EXPORT std::ostream& binary_write(std::ostream& os, const char* val);
+ GDCM_EXPORT std::ostream& binary_write(std::ostream& os, std::string const & val);
} // end namespace gdcm
//-----------------------------------------------------------------------------
#endif