Go to the documentation of this file. 1 #ifndef __JIO__JSTDIO__
2 #define __JIO__JSTDIO__
16 namespace 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();
114 template<
class JElement_t,
class JAllocator_t>
125 for (
int i = 0; i !=
n; ++i) {
129 object.push_back(element);
143 template<
class JElement_t,
class JAllocator_t>
146 int n =
object.size();
165 template<
class JElement_t,
class JComparator_t,
class JAllocator_t>
176 for (
int i = 0; i !=
n; ++i) {
180 object.insert(element);
194 template<
class JElement_t,
class JComparator_t,
class JAllocator_t>
197 int n =
object.size();
216 template<
class JElement_t,
class JComparator_t,
class JAllocator_t>
227 for (
int i = 0; i !=
n; ++i) {
231 object.insert(element);
245 template<
class JElement_t,
class JComparator_t,
class JAllocator_t>
248 int n =
object.size();
267 template<
class JKey_t,
class JValue_t>
284 template<
class JKey_t,
class JValue_t>
288 out <<
object.second;
301 template<
class JKey_t,
class JValue_t,
class JComparator_t,
class JAllocator_t>
313 for (
int i = 0; i !=
n; ++i) {
331 template<
class JKey_t,
class JValue_t,
class JComparator_t,
class JAllocator_t>
334 int n =
object.size();
353 template<
class JKey_t,
class JValue_t,
class JComparator_t,
class JAllocator_t>
365 for (
int i = 0; i !=
n; ++i) {
383 template<
class JKey_t,
class JValue_t,
class JComparator_t,
class JAllocator_t>
386 int n =
object.size();
Interface for binary input.
JWriter & operator<<(JWriter &out, const std::multimap< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object)
Write template std::multimap to output.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
virtual int write(const char *buffer, const int length)=0
Write byte array.
Interface for binary output.
Auxiliary classes and methods for binary I/O.
JReader & operator>>(JReader &in, std::multimap< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object)
Read template std::multimap from input.