Meeting SDK for Windows API Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IQAItemInfo Class Referenceabstract

Question item interface class. More...

#include <meeting_qa_ctrl_interface.h>

Public Member Functions

virtual ~IQAItemInfo ()
 
virtual time_t GetTimeStamp ()=0
 Get the timestamp of the question.
 
virtual unsigned int GetUpvoteNum ()=0
 Get the number of the up_voters of the question.
 
virtual const zchar_tGetText ()=0
 Get the text of the question.
 
virtual const zchar_tGetSenderName ()=0
 Get the sender's name of the question.
 
virtual const zchar_tGetQuestionID ()=0
 Get the question id.
 
virtual bool IsAnonymous ()=0
 Determine if the question is anonymous.
 
virtual bool IsMarkedAsAnswered ()=0
 Determine if the question is marked as answered.
 
virtual bool IsMarkedAsDismissed ()=0
 Determine if the question is marked as dismissed.
 
virtual bool IsSenderMyself ()=0
 Determine if the question's sender is the user himself or not.
 
virtual bool IsMySelfUpvoted ()=0
 Determine if the user himself is an up_voter of the question or not.
 
virtual bool HasLiveAnswers ()=0
 Determine if the question has live answers or not.
 
virtual bool HasTextAnswers ()=0
 Determine if the question has text answers or not.
 
virtual bool AmILiveAnswering ()=0
 Determine if the user himself is answering the question live or not.
 
virtual const zchar_tGetLiveAnswerName ()=0
 Get all the users' names who answers the question live.
 
virtual bool IsLiveAnswering ()=0
 Determine if the question is being answered live or not.
 
virtual IList< IAnswerItem * > * GetAnswerList ()=0
 Get the list of all the answers to the question.
 

Detailed Description

Question item interface class.

Definition at line 64 of file meeting_qa_ctrl_interface.h.

Constructor & Destructor Documentation

◆ ~IQAItemInfo()

virtual IQAItemInfo::~IQAItemInfo ( )
inlinevirtual

Definition at line 67 of file meeting_qa_ctrl_interface.h.

67{}

Member Function Documentation

◆ AmILiveAnswering()

virtual bool IQAItemInfo::AmILiveAnswering ( )
pure virtual

Determine if the user himself is answering the question live or not.

Returns
TRUE indicates the user himself is answering the question live.

◆ GetAnswerList()

virtual IList< IAnswerItem * > * IQAItemInfo::GetAnswerList ( )
pure virtual

Get the list of all the answers to the question.

Returns
The list of all the answers to the question. For more details, see IAnswerItem.

◆ GetLiveAnswerName()

virtual const zchar_t * IQAItemInfo::GetLiveAnswerName ( )
pure virtual

Get all the users' names who answers the question live.

Returns
All the users' names who answers the question live. Separated by commas.

◆ GetQuestionID()

virtual const zchar_t * IQAItemInfo::GetQuestionID ( )
pure virtual

Get the question id.

Returns
The question id.

◆ GetSenderName()

virtual const zchar_t * IQAItemInfo::GetSenderName ( )
pure virtual

Get the sender's name of the question.

Returns
The sender's name of the question.

◆ GetText()

virtual const zchar_t * IQAItemInfo::GetText ( )
pure virtual

Get the text of the question.

Returns
The text of the question.

◆ GetTimeStamp()

virtual time_t IQAItemInfo::GetTimeStamp ( )
pure virtual

Get the timestamp of the question.

Returns
The timestamp of the question.

◆ GetUpvoteNum()

virtual unsigned int IQAItemInfo::GetUpvoteNum ( )
pure virtual

Get the number of the up_voters of the question.

Returns
The number of the up_voters of the question.

◆ HasLiveAnswers()

virtual bool IQAItemInfo::HasLiveAnswers ( )
pure virtual

Determine if the question has live answers or not.

Returns
TRUE indicates the question has live answers.

◆ HasTextAnswers()

virtual bool IQAItemInfo::HasTextAnswers ( )
pure virtual

Determine if the question has text answers or not.

Returns
TRUE indicates the question has text answers.

◆ IsAnonymous()

virtual bool IQAItemInfo::IsAnonymous ( )
pure virtual

Determine if the question is anonymous.

Returns
TRUE indicates the question is anonymous.

◆ IsLiveAnswering()

virtual bool IQAItemInfo::IsLiveAnswering ( )
pure virtual

Determine if the question is being answered live or not.

Returns
TRUE indicates the question is being answered live.

◆ IsMarkedAsAnswered()

virtual bool IQAItemInfo::IsMarkedAsAnswered ( )
pure virtual

Determine if the question is marked as answered.

Returns
TURE indicates the question is marked as answered.

◆ IsMarkedAsDismissed()

virtual bool IQAItemInfo::IsMarkedAsDismissed ( )
pure virtual

Determine if the question is marked as dismissed.

Returns
TRUE indicates the question is marked as dismissed.

◆ IsMySelfUpvoted()

virtual bool IQAItemInfo::IsMySelfUpvoted ( )
pure virtual

Determine if the user himself is an up_voter of the question or not.

Returns
TRUE indicates the user himself is an up_voter of the question.

◆ IsSenderMyself()

virtual bool IQAItemInfo::IsSenderMyself ( )
pure virtual

Determine if the question's sender is the user himself or not.

Returns
TRUE indicates that the question's sender is the user himself.