Question item interface class.
More...
#include <meeting_qa_ctrl_interface.h>
|
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_t * | GetText ()=0 |
| Get the text of the question.
|
|
virtual const zchar_t * | GetSenderName ()=0 |
| Get the sender's name of the question.
|
|
virtual const zchar_t * | GetQuestionID ()=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_t * | GetLiveAnswerName ()=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.
|
|
Question item interface class.
Definition at line 64 of file meeting_qa_ctrl_interface.h.
◆ ~IQAItemInfo()
virtual IQAItemInfo::~IQAItemInfo |
( |
| ) |
|
|
inlinevirtual |
◆ 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()
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.