16namespace JPP {
using namespace JIO; }
33 in.
read((
char*) &n,
sizeof(
unsigned int));
35 for (
char c; n != 0; --n,
object += c) {
36 in.
read(&c,
sizeof(
char));
52 unsigned int n =
object.size();
54 out.
write((
const char*) &n,
sizeof(
unsigned int));
55 out.
write((
const char*)
object.c_str(), n);
68 template<
class JElement_t,
class JAllocator_t>
92 template<
class JElement_t,
class JAllocator_t>
95 int n =
object.size();
99 for (
typename std::vector<JElement_t, JAllocator_t>::const_iterator i =
object.begin(); i !=
object.end(); ++i) {
114 template<
class JElement_t,
size_t N>
132 template<
class JElement_t,
size_t N>
150 template<
class JElement_t,
class JAllocator_t>
161 for (
int i = 0; i != n; ++i) {
165 object.push_back(element);
179 template<
class JElement_t,
class JAllocator_t>
182 int n =
object.size();
201 template<
class JElement_t,
class JComparator_t,
class JAllocator_t>
212 for (
int i = 0; i != n; ++i) {
216 object.insert(element);
230 template<
class JElement_t,
class JComparator_t,
class JAllocator_t>
233 int n =
object.size();
252 template<
class JElement_t,
class JComparator_t,
class JAllocator_t>
263 for (
int i = 0; i != n; ++i) {
267 object.insert(element);
281 template<
class JElement_t,
class JComparator_t,
class JAllocator_t>
284 int n =
object.size();
303 template<
class JKey_t,
class JValue_t>
320 template<
class JKey_t,
class JValue_t>
324 out <<
object.second;
337 template<
class JKey_t,
class JValue_t,
class JComparator_t,
class JAllocator_t>
349 for (
int i = 0; i != n; ++i) {
367 template<
class JKey_t,
class JValue_t,
class JComparator_t,
class JAllocator_t>
370 int n =
object.size();
389 template<
class JKey_t,
class JValue_t,
class JComparator_t,
class JAllocator_t>
401 for (
int i = 0; i != n; ++i) {
419 template<
class JKey_t,
class JValue_t,
class JComparator_t,
class JAllocator_t>
422 int n =
object.size();
Forward declarations of STD containers.
Interface for binary input.
Interface for binary output.
virtual int write(const char *buffer, const int length)=0
Write byte array.
Auxiliary classes and methods for binary I/O.
JReader & operator>>(JReader &in, std::string &object)
Read template std::string from input.
JWriter & operator<<(JWriter &out, const std::string &object)
Write template std::string to output.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).