Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cl::string Class Reference

Simple string class, that provides a limited subset of std::string functionality but avoids many of the issues that come with that class. More...

#include <JETSCAPE/blob/main/external_packages/clvisc_wrapper/include/cl.hpp>

+ Collaboration diagram for cl::string:

Public Member Functions

 string (void)
 
 string (char *str,::size_t size)
 
 string (char *str)
 
stringoperator= (const string &rhs)
 
 string (const string &rhs)
 
 ~string ()
 
::size_t size (void) const
 
::size_t length (void) const
 
const char * c_str (void) const
 

Private Attributes

::size_t size_
 
char * str_
 

Detailed Description

Simple string class, that provides a limited subset of std::string functionality but avoids many of the issues that come with that class.

Definition at line 331 of file cl.hpp.

View newest version in sPHENIX GitHub at line 331 of file cl.hpp

Constructor & Destructor Documentation

cl::string::string ( void  )
inline

Definition at line 337 of file cl.hpp.

View newest version in sPHENIX GitHub at line 337 of file cl.hpp

cl::string::string ( char *  str,
::size_t  size 
)
inline

Definition at line 341 of file cl.hpp.

View newest version in sPHENIX GitHub at line 341 of file cl.hpp

References size_, and str_.

cl::string::string ( char *  str)
inline

Definition at line 355 of file cl.hpp.

View newest version in sPHENIX GitHub at line 355 of file cl.hpp

References size_, and str_.

cl::string::string ( const string rhs)
inline

Definition at line 392 of file cl.hpp.

View newest version in sPHENIX GitHub at line 392 of file cl.hpp

References check_smearing_config::rhs.

cl::string::~string ( )
inline

Definition at line 397 of file cl.hpp.

View newest version in sPHENIX GitHub at line 397 of file cl.hpp

References str_.

Member Function Documentation

const char* cl::string::c_str ( void  ) const
inline

Definition at line 407 of file cl.hpp.

View newest version in sPHENIX GitHub at line 407 of file cl.hpp

References str_.

::size_t cl::string::length ( void  ) const
inline

Definition at line 405 of file cl.hpp.

View newest version in sPHENIX GitHub at line 405 of file cl.hpp

References size().

+ Here is the call graph for this function:

string& cl::string::operator= ( const string rhs)
inline

Definition at line 368 of file cl.hpp.

View newest version in sPHENIX GitHub at line 368 of file cl.hpp

References size_, and str_.

::size_t cl::string::size ( void  ) const
inline

Definition at line 404 of file cl.hpp.

View newest version in sPHENIX GitHub at line 404 of file cl.hpp

References size_.

Referenced by length().

+ Here is the caller graph for this function:

Member Data Documentation

::size_t cl::string::size_
private

Definition at line 334 of file cl.hpp.

View newest version in sPHENIX GitHub at line 334 of file cl.hpp

Referenced by operator=(), size(), and string().

char* cl::string::str_
private

Definition at line 335 of file cl.hpp.

View newest version in sPHENIX GitHub at line 335 of file cl.hpp

Referenced by c_str(), operator=(), string(), and ~string().


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