Main Page
Namespaces
Classes
Package Documentation
Alignment
Geners
src
CStringBuf.cc
Go to the documentation of this file.
1
#include <cassert>
2
3
#include "Alignment/Geners/interface/CStringBuf.hh"
4
5
namespace
gs
{
6
const
char
* CStringBuf::getGetBuffer(
unsigned
long
long
* len)
const
7
{
8
const
long
long
delta
= gptr() - eback();
9
assert(delta >= 0LL);
10
assert(len);
11
*len =
delta
;
12
return
eback();
13
}
14
15
const
char
* CStringBuf::getPutBuffer(
unsigned
long
long
* len)
const
16
{
17
const
long
long
delta
= pptr() - pbase();
18
assert(delta >= 0LL);
19
assert(len);
20
*len =
delta
;
21
return
pbase();
22
}
23
}
delta
dbl * delta
Definition:
mlp_gen.cc:36
gs
Definition:
AbsArchive.cc:53
Generated for CMSSW Reference Manual by
1.8.11