Planeshift
NpcTriggerSentence Class Reference

Sentence written by the user represented as sequence of known terms. More...

#include <psnpcdialog.h>

Public Member Functions

void AddToSentence (NpcTerm *next_word)
 
const csString & GetString ()
 
 NpcTriggerSentence ()
 
void operator= (NpcTriggerSentence &other)
 
NpcTerm *& Term (size_t i)
 
size_t TermLength ()
 

Protected Attributes

csString str
 String version built from array. More...
 
csArray< NpcTerm * > terms
 Not PArray because these ptrs are shared. More...
 

Detailed Description

Sentence written by the user represented as sequence of known terms.

Definition at line 93 of file psnpcdialog.h.

Constructor & Destructor Documentation

NpcTriggerSentence::NpcTriggerSentence ( )
inline

Definition at line 100 of file psnpcdialog.h.

Member Function Documentation

void NpcTriggerSentence::AddToSentence ( NpcTerm next_word)
const csString& NpcTriggerSentence::GetString ( )
void NpcTriggerSentence::operator= ( NpcTriggerSentence other)
inline

Definition at line 107 of file psnpcdialog.h.

NpcTerm* & NpcTriggerSentence::Term ( size_t  i)
inline

Definition at line 112 of file psnpcdialog.h.

size_t NpcTriggerSentence::TermLength ( )
inline

Definition at line 102 of file psnpcdialog.h.

Member Data Documentation

csString NpcTriggerSentence::str
protected

String version built from array.

Definition at line 97 of file psnpcdialog.h.

csArray<NpcTerm*> NpcTriggerSentence::terms
protected

Not PArray because these ptrs are shared.

Definition at line 96 of file psnpcdialog.h.


The documentation for this class was generated from the following file: