Class SBDAssistantAnswer#
ClassList > SBDAssistantAnswer
#include <SBDAssistantAnswer.hpp>
Inherits the following classes: SBCReferenceTarget
Public Types#
Type | Name |
---|---|
enum | Status The answer status. |
Public Functions#
Type | Name |
---|---|
SBDAssistantAnswer () Constructs an assistant answer. |
|
SBDAssistantAnswer (const std::wstring & answer, Status status=Status::Success) Constructs an assistant answer. |
|
SB_DECLARE_DATA (SBDAssistantAnswer) |
|
const std::wstring & | getAnswer () const Returns the answer. |
const Status | getStatus () const Returns the status. |
void | setAnswer (const std::wstring & answer) Sets the answer. |
void | setStatus (Status status) Sets the status. |
virtual | ~SBDAssistantAnswer () Destructs the assistant answer. |
Public Functions inherited from SBCReferenceTarget#
Type | Name |
---|---|
SBCReferenceTarget () |
|
unsigned int | getMemoryFootprint () const |
void | printReferencesToOwners () const |
virtual | ~SBCReferenceTarget () |
Protected Attributes inherited from SBCReferenceTarget#
Type | Name |
---|---|
SBCReferenceTargetData * | dataPointer |
Protected Functions inherited from SBCReferenceTarget#
Type | Name |
---|---|
SBCReferenceTarget (SBCReferenceTargetData * dataPointer) |
|
void | removeAllReferenceOwners () |
Detailed Description#
This class is the base class for assistant answers
Short name: SBAssistantAnswer
Public Types Documentation#
enum Status#
The answer status.
Public Functions Documentation#
function SBDAssistantAnswer [1/2]#
Constructs an assistant answer.
function SBDAssistantAnswer [2/2]#
Constructs an assistant answer.
SBDAssistantAnswer::SBDAssistantAnswer (
const std::wstring & answer,
Status status=Status::Success
)
function SB_DECLARE_DATA#
function getAnswer#
Returns the answer.
function getStatus#
Returns the status.
function setAnswer#
Sets the answer.
function setStatus#
Sets the status.
function ~SBDAssistantAnswer#
Destructs the assistant answer.