stub_analytics_plugin  1.6
Network Optix Video Analytics SDK
string.h
1 #include <nx/sdk/i_string.h>
2 
3 #include <string>
4 
5 #include <nx/sdk/helpers/ref_countable.h>
6 
7 namespace nx {
8 namespace sdk {
9 
10 class String: public RefCountable<IString>
11 {
12 public:
13  String() = default;
14  String(std::string s);
15 
17  String(const char* s);
18 
19  virtual const char* str() const override;
20 
21  void setString(std::string s);
22 
24  void setString(const char* s);
25 
26  int size() const;
27 
28  bool empty() const;
29 
30 private:
31  std::string m_string;
32 };
33 
34 } // namespace sdk
35 } // namespace nx
Definition: string.h:10
Definition: debug.cpp:12
Definition: ref_countable.h:79