ntesukiResult.cc
Go to the documentation of this file.
00001 #include "osl/ntesuki/ntesukiResult.h"
00002 #include <iostream>
00003 
00004 std::ostream&
00005 osl::ntesuki::operator<<(std::ostream& os, osl::ntesuki::NtesukiResult nr)
00006 {
00007 
00008   if (osl::ntesuki::NTESUKI_YES == nr)
00009   {
00010     return os << "NTESUKI_YES";
00011   }
00012   else if (osl::ntesuki::NTESUKI_NO == nr)
00013   {
00014     return os << "NTESUKI_NO";
00015   }
00016   assert (osl::ntesuki::isUnknown(nr));
00017 
00018   return os << "NTESUKI_UNKNOWN("
00019             << osl::ntesuki::getDepth(nr)
00020             << ")";
00021 }
00022   
00023 // ;;; Local Variables:
00024 // ;;; mode:c++
00025 // ;;; c-basic-offset:2
00026 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines