NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
CUsageReportParameters Class Reference

Search Toolkit Book for CUsageReportParameters

CUsageReportParameters:: More...

#include <connect/ncbi_usage_report.hpp>

+ Inheritance diagram for CUsageReportParameters:

Public Member Functions

 CUsageReportParameters (void)
CUsageReportParametersAdd (const string &name, const string &value)
 Add argument Name must contain only alphanumeric chars or '_'. More...
CUsageReportParametersAdd (const string &name, const char *value)
template<typename TValue >
CUsageReportParametersAdd (const string &name, TValue value)
string ToString () const
 Convert parameters to string. URL-encode all values. More...
 CUsageReportParameters (const CUsageReportParameters &other)
 Copy constructor. More...
CUsageReportParametersoperator= (const CUsageReportParameters &other)
 Copy assignment operator. More...

Protected Member Functions

void x_CopyFrom (const CUsageReportParameters &other)
 Copy parameters to another objects. More...

Private Attributes

std::map< string, stringm_Params
 Stored parameters. More...


class CUsageReport

Detailed Description


Class for holding additional reporting arguments.

It is not necessary to add application name, version, host or OS name manually. They can be added automatically on each report. See CUsageReportAPI class.
This class is not MT safe, concurrent access to the same object may cause data races.

Definition at line 318 of file ncbi_usage_report.hpp.

The documentation for this class was generated from the following files:
Modified on Mon May 20 05:04:15 2024 by rev. 669887