General purpose string class.  
 More...
#include <JHead.hh>
General purpose string class. 
Definition at line 150 of file JHead.hh.
 
  
  
      
        
          | JAANET::String::String  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 154 of file JHead.hh.
std::string buffer
General purpose name. 
 
 
 
 
  
  
      
        
          | bool JAANET::String::match  | 
          ( | 
          const String &  | 
          object | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Test match. 
- Parameters
 - 
  
  
 
- Returns
 - true if matches; else false 
 
Definition at line 164 of file JHead.hh.
  166       return !(*this).less(
object) && !(object).
less(*
this);
 
bool less(const String &object) const 
Comparison. 
 
 
 
 
  
  
      
        
          | bool JAANET::String::less  | 
          ( | 
          const String &  | 
          object | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Comparison. 
- Parameters
 - 
  
  
 
- Returns
 - true if this string less than given string; else false 
 
Definition at line 175 of file JHead.hh.
  179       istringstream i0(
this ->
buffer);
 
  180       istringstream i1(
object.
buffer);
 
  185       copy(istream_iterator<string>(i0), istream_iterator<string>(), back_inserter(v0));
 
  186       copy(istream_iterator<string>(i1), istream_iterator<string>(), back_inserter(v1));
 
std::string buffer
General purpose name. 
 
void copy(const Head &from, JHead &to)
Copy header from from to to. 
 
 
 
 
      
        
          | JAANET::String::ClassDefNV  | 
          ( | 
          String  | 
          ,  | 
        
        
           | 
           | 
          1  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | std::istream& operator>>  | 
          ( | 
          std::istream &  | 
          in,  | 
         
        
           | 
           | 
          String &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Read string from input stream. 
- Parameters
 - 
  
    | in | input stream  | 
    | object | string  | 
  
   
- Returns
 - input stream 
 
Definition at line 198 of file JHead.hh.
std::string buffer
General purpose name. 
 
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
 
 
 
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const String &  | 
          object  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write string to output stream. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | string  | 
  
   
- Returns
 - output stream 
 
Definition at line 210 of file JHead.hh.
  212       return out << 
object.buffer;
 
 
 
 
      
        
          | std::string JAANET::String::buffer | 
        
      
 
General purpose name. 
Definition at line 215 of file JHead.hh.
 
 
The documentation for this struct was generated from the following file: