Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
lib
rating
feature
capture.cc
Go to the documentation of this file.
1
/* capture.cc
2
*/
3
#include "
osl/rating/feature/capture.h
"
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
18
osl::rating::DropCaptured::DropCaptured
(
Ptype
p)
19
:
Feature
(
Ptype_Table
.getCsaName(p)), ptype(p)
20
{
21
}
22
23
/* ------------------------------------------------------------------------- */
Generated on Sun Jul 21 2013 13:37:23 by
1.8.4