SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_zstring_view Class Reference

non-owning, const-ref to null-terminated string (implementation-defined) More...

#include <sysc/utils/sc_string_view.h>

Inheritance diagram for sc_core::sc_zstring_view:
Collaboration diagram for sc_core::sc_zstring_view:

Public Member Functions

 sc_zstring_view ()
 
 sc_zstring_view (const char *s)
 
 sc_zstring_view (const std::string &s)
 
void swap (sc_zstring_view &s)
 
const char * c_str () const
 

Detailed Description

non-owning, const-ref to null-terminated string (implementation-defined)

Definition at line 70 of file sc_string_view.h.

Constructor & Destructor Documentation

◆ sc_zstring_view() [1/3]

sc_core::sc_zstring_view::sc_zstring_view ( )
inline

Definition at line 73 of file sc_string_view.h.

◆ sc_zstring_view() [2/3]

sc_core::sc_zstring_view::sc_zstring_view ( const char *  s)
inline

Definition at line 76 of file sc_string_view.h.

◆ sc_zstring_view() [3/3]

sc_core::sc_zstring_view::sc_zstring_view ( const std::string &  s)
inline

Definition at line 79 of file sc_string_view.h.

Member Function Documentation

◆ c_str()

const char* sc_core::sc_zstring_view::c_str ( ) const
inline

Definition at line 85 of file sc_string_view.h.

◆ swap()

void sc_core::sc_zstring_view::swap ( sc_zstring_view s)
inline

Definition at line 82 of file sc_string_view.h.


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