Poco::MongoDB

class JavaScriptCode

Library: MongoDB
Package: MongoDB
Header: Poco/MongoDB/JavaScriptCode.h

Description

Represents JavaScript type in BSON

Member Summary

Member Functions: getCode, setCode

Types

Ptr

typedef SharedPtr < JavaScriptCode > Ptr;

Constructors

JavaScriptCode

JavaScriptCode();

Constructor

Destructor

~JavaScriptCode virtual

virtual ~JavaScriptCode();

Destructor

Member Functions

getCode inline

std::string getCode() const;

Get the code

setCode inline

void setCode(
    const std::string & s
);

Set the code