All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
capture.cc
Go to the documentation of this file.
1 /* capture.cc
2  */
4 #include <sstream>
5 
6 const std::string osl::rating::Capture::name(int first, int /*last*/)
7 {
8  std::ostringstream os;
9  os << "(";
10  if (first == -INF)
11  os << "-inf";
12  else
13  os << first;
14  os << " <= )";
15  return os.str();
16 }
17 
19  : Feature(Ptype_Table.getCsaName(p)), ptype(p)
20 {
21 }
22 
23 /* ------------------------------------------------------------------------- */