Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JDATABASE::JDBString Struct Reference

Wrapper class to read string until end-of-line. More...

#include <JDBString.hh>

Inheritance diagram for JDATABASE::JDBString:

Public Member Functions

 JDBString (const std::string &buffer="")
 Copy constructor.
 
 ClassDefNV (JDBString, 1)
 

Friends

std::istream & operator>> (std::istream &in, JDBString &object)
 Read database string from input stream.
 

Detailed Description

Wrapper class to read string until end-of-line.

Definition at line 20 of file JDBString.hh.

Constructor & Destructor Documentation

◆ JDBString()

JDATABASE::JDBString::JDBString ( const std::string & buffer = "")
inline

Copy constructor.

Parameters
bufferbuffer

Definition at line 28 of file JDBString.hh.

28 :
29 std::string(buffer)
30 {}

Member Function Documentation

◆ ClassDefNV()

JDATABASE::JDBString::ClassDefNV ( JDBString ,
1  )

Friends And Related Symbol Documentation

◆ operator>>

std::istream & operator>> ( std::istream & in,
JDBString & object )
friend

Read database string from input stream.

Parameters
ininput stream
objectdatabase string
Returns
input stream

Definition at line 39 of file JDBString.hh.

40 {
41 using namespace std;
42
43 return getline(in, object);
44 }
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
Definition JString.hh:478

The documentation for this struct was generated from the following file: