OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Classes | Functions
ossimIoStream.h File Reference
#include <ossim/base/ossimIosFwd.h>
#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimStreamBase.h>
#include <ossim/base/ossimString.h>
#include <istream>
#include <iostream>
#include <ostream>
#include <fstream>
#include <sstream>
#include <memory>

Go to the source code of this file.

Classes

class  ossimIStream
 
class  ossimOStream
 
class  ossimIOStream
 
class  ossimIOMemoryStream
 
class  ossimIMemoryStream
 
class  ossimOMemoryStream
 
class  ossimIOFStream
 
class  ossimIFStream
 
class  ossimOFStream
 
class  ossimBufferedInputStream
 Alows one to create a buffered input stream. More...
 
class  ossimIFStream64
 
class  ossimOFStream64
 

Functions

OSSIM_DLL void operator>> (ossimIStream &in, ossimOStream &out)
 
OSSIM_DLL ossimIOStreamoperator>> (ossimIStream &in, ossimIOStream &out)
 
OSSIM_DLL void operator>> (ossimIOStream &in, ossimOStream &out)
 
OSSIM_DLL ossimIOStreamoperator>> (ossimIOStream &in, ossimIOStream &out)
 
OSSIM_DLL void operator<< (ossimOStream &out, ossimIStream &in)
 
OSSIM_DLL void operator<< (ossimOStream &out, ossimIOStream &in)
 
OSSIM_DLL ossimIOStreamoperator<< (ossimIOStream &out, ossimIStream &in)
 
OSSIM_DLL ossimIOStreamoperator<< (ossimIOStream &out, ossimIOStream &in)
 

Function Documentation

◆ operator<<() [1/4]

OSSIM_DLL void operator<< ( ossimOStream out,
ossimIStream in 
)

Definition at line 455 of file ossimIoStream.cpp.

456 {
457  char buf[1024];
458  bool done = false;
459 
460  while(!done&&!in.fail())
461  {
462  in.read(buf, 1024);
463  if(in.gcount() < 1024)
464  {
465  done = true;
466  }
467  if(in.gcount() > 0)
468  {
469  out.write(buf, in.gcount());
470  }
471  }
472 }

◆ operator<<() [2/4]

OSSIM_DLL void operator<< ( ossimOStream out,
ossimIOStream in 
)

Definition at line 474 of file ossimIoStream.cpp.

475 {
476  char buf[1024];
477  bool done = false;
478 
479  while(!done&&!in.fail())
480  {
481  in.read(buf, 1024);
482  if(in.gcount() < 1024)
483  {
484  done = true;
485  }
486  if(in.gcount() > 0)
487  {
488  out.write(buf, in.gcount());
489  }
490  }
491 }

◆ operator<<() [3/4]

OSSIM_DLL ossimIOStream& operator<< ( ossimIOStream out,
ossimIStream in 
)

Definition at line 493 of file ossimIoStream.cpp.

494 {
495  char buf[1024];
496  bool done = false;
497 
498  while(!done&&!in.fail())
499  {
500  in.read(buf, 1024);
501  if(in.gcount() < 1024)
502  {
503  done = true;
504  }
505  if(in.gcount() > 0)
506  {
507  out.write(buf, in.gcount());
508  }
509  }
510 
511  return out;
512 }

◆ operator<<() [4/4]

OSSIM_DLL ossimIOStream& operator<< ( ossimIOStream out,
ossimIOStream in 
)

Definition at line 514 of file ossimIoStream.cpp.

515 {
516  char buf[1024];
517  bool done = false;
518 
519  while(!done&&!in.fail())
520  {
521  in.read(buf, 1024);
522  if(in.gcount() < 1024)
523  {
524  done = true;
525  }
526  if(in.gcount() > 0)
527  {
528  out.write(buf, in.gcount());
529  }
530  }
531 
532  return out;
533 }

◆ operator>>() [1/4]

OSSIM_DLL void operator>> ( ossimIStream in,
ossimOStream out 
)

Definition at line 375 of file ossimIoStream.cpp.

376 {
377  char buf[1024];
378  bool done = false;
379 
380  while(!done&&!in.fail())
381  {
382  in.read(buf, 1024);
383  if(in.gcount() < 1024)
384  {
385  done = true;
386  }
387  if(in.gcount() > 0)
388  {
389  out.write(buf, in.gcount());
390  }
391  }
392 }

◆ operator>>() [2/4]

OSSIM_DLL ossimIOStream& operator>> ( ossimIStream in,
ossimIOStream out 
)

Definition at line 394 of file ossimIoStream.cpp.

395 {
396  char buf[1024];
397  bool done = false;
398 
399  while(!done&&!in.fail())
400  {
401  in.read(buf, 1024);
402  if(in.gcount() < 1024)
403  {
404  done = true;
405  }
406  if(in.gcount() > 0)
407  {
408  out.write(buf, in.gcount());
409  }
410  }
411 
412  return out;
413 }

◆ operator>>() [3/4]

OSSIM_DLL void operator>> ( ossimIOStream in,
ossimOStream out 
)

Definition at line 415 of file ossimIoStream.cpp.

416 {
417  char buf[1024];
418  bool done = false;
419 
420  while(!done&&!in.fail())
421  {
422  in.read(buf, 1024);
423  if(in.gcount() < 1024)
424  {
425  done = true;
426  }
427  if(in.gcount() > 0)
428  {
429  out.write(buf, in.gcount());
430  }
431  }
432 }

◆ operator>>() [4/4]

OSSIM_DLL ossimIOStream& operator>> ( ossimIOStream in,
ossimIOStream out 
)

Definition at line 434 of file ossimIoStream.cpp.

435 {
436  char buf[1024];
437  bool done = false;
438 
439  while(!done&&!in.fail())
440  {
441  in.read(buf, 1024);
442  if(in.gcount() < 1024)
443  {
444  done = true;
445  }
446  if(in.gcount() > 0)
447  {
448  out.write(buf, in.gcount());
449  }
450  }
451 
452  return out;
453 }