Crossfire Server, Trunk  R20513
Public Member Functions | Private Attributes
MessageRule Class Reference

#include <MessageFile.h>

Inheritance diagram for MessageRule:
Inheritance graph
Collaboration diagram for MessageRule:
Collaboration graph

Public Member Functions

const QString & comment () const
 
const QStringList & include () const
 
bool isModified () const
 
const QStringList & match () const
 
QStringList & match ()
 
 MessageRule ()
 
 MessageRule (const MessageRule &original)
 
const QStringList & messages () const
 
const QList< QStringList > & postconditions () const
 
const QList< QStringList > & preconditions () const
 
const QList< QStringList > & replies () const
 
void setComment (const QString &comment)
 
void setInclude (const QStringList &include)
 
void setMatch (const QStringList &match)
 
void setMessages (const QStringList &messages)
 
void setModified (bool modified=true)
 
void setPostconditions (const QList< QStringList > &postconditions)
 
void setPreconditions (const QList< QStringList > &preconditions)
 
void setReplies (const QList< QStringList > &replies)
 
virtual ~MessageRule ()
 

Private Attributes

QString myComment
 
QStringList myInclude
 
bool myIsModified
 
QStringList myMatch
 
QStringList myMessages
 
QList< QStringList > myPostconditions
 
QList< QStringList > myPreconditions
 
QList< QStringList > myReplies
 

Detailed Description

Definition at line 9 of file MessageFile.h.

Constructor & Destructor Documentation

MessageRule::MessageRule ( )

Definition at line 12 of file MessageFile.cpp.

References myIsModified.

Referenced by MessageFile::parseFile().

Here is the caller graph for this function:

MessageRule::MessageRule ( const MessageRule original)

Definition at line 17 of file MessageFile.cpp.

References match(), messages(), myIsModified, myMatch, myMessages, myPostconditions, myPreconditions, myReplies, postconditions(), preconditions(), and replies().

Here is the call graph for this function:

MessageRule::~MessageRule ( )
virtual

Definition at line 27 of file MessageFile.cpp.

Member Function Documentation

const QString & MessageRule::comment ( ) const

Definition at line 31 of file MessageFile.cpp.

References myComment.

Referenced by convert(), and setComment().

Here is the caller graph for this function:

const QStringList & MessageRule::include ( ) const

Definition at line 86 of file MessageFile.cpp.

References myInclude.

Referenced by convert(), CREMessagePanel::fillRuleItem(), setInclude(), CREMessagePanel::setItem(), and CRERulePanel::setMessageRule().

Here is the caller graph for this function:

bool MessageRule::isModified ( ) const

Definition at line 106 of file MessageFile.cpp.

References myIsModified.

Referenced by MessageFile::save().

Here is the caller graph for this function:

const QStringList & MessageRule::match ( ) const
QStringList & MessageRule::match ( )

Definition at line 46 of file MessageFile.cpp.

References myMatch.

const QStringList & MessageRule::messages ( ) const

Definition at line 76 of file MessageFile.cpp.

References myMessages.

Referenced by convert(), CREMessagePanel::fillRuleItem(), MessageRule(), CREMessagePanel::setItem(), CRERulePanel::setMessageRule(), and setMessages().

Here is the caller graph for this function:

const QList< QStringList > & MessageRule::postconditions ( ) const
const QList< QStringList > & MessageRule::preconditions ( ) const
const QList< QStringList > & MessageRule::replies ( ) const

Definition at line 96 of file MessageFile.cpp.

References myReplies.

Referenced by convert(), CREMessagePanel::fillRuleItem(), MessageRule(), CREMessagePanel::setItem(), CRERulePanel::setMessageRule(), and setReplies().

Here is the caller graph for this function:

void MessageRule::setComment ( const QString &  comment)

Definition at line 36 of file MessageFile.cpp.

References comment(), and myComment.

Referenced by MessageFile::parseFile().

Here is the call graph for this function:

Here is the caller graph for this function:

void MessageRule::setInclude ( const QStringList &  include)

Definition at line 91 of file MessageFile.cpp.

References include(), and myInclude.

Referenced by CRERulePanel::onIncludeModified(), and MessageFile::parseFile().

Here is the call graph for this function:

Here is the caller graph for this function:

void MessageRule::setMatch ( const QStringList &  match)

Definition at line 51 of file MessageFile.cpp.

References match(), and myMatch.

Referenced by CRERulePanel::onMatchModified(), and MessageFile::parseFile().

Here is the call graph for this function:

Here is the caller graph for this function:

void MessageRule::setMessages ( const QStringList &  messages)

Definition at line 81 of file MessageFile.cpp.

References messages(), and myMessages.

Referenced by CRERulePanel::onMessageModified(), and MessageFile::parseFile().

Here is the call graph for this function:

Here is the caller graph for this function:

void MessageRule::setModified ( bool  modified = true)

Definition at line 111 of file MessageFile.cpp.

References myIsModified.

Referenced by CREMessagePanel::onAddRule(), MessageFile::save(), MessageFile::setLocation(), and MessageFile::setPath().

Here is the caller graph for this function:

void MessageRule::setPostconditions ( const QList< QStringList > &  postconditions)

Definition at line 71 of file MessageFile.cpp.

References myPostconditions, and postconditions().

Referenced by CRERulePanel::onPostModified(), and MessageFile::parseFile().

Here is the call graph for this function:

Here is the caller graph for this function:

void MessageRule::setPreconditions ( const QList< QStringList > &  preconditions)

Definition at line 61 of file MessageFile.cpp.

References myPreconditions, and preconditions().

Referenced by CRERulePanel::onPreModified(), and MessageFile::parseFile().

Here is the call graph for this function:

Here is the caller graph for this function:

void MessageRule::setReplies ( const QList< QStringList > &  replies)

Definition at line 101 of file MessageFile.cpp.

References myReplies, and replies().

Referenced by CRERulePanel::onRepliesModified(), and MessageFile::parseFile().

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

QString MessageRule::myComment
private

Definition at line 39 of file MessageFile.h.

Referenced by comment(), and setComment().

QStringList MessageRule::myInclude
private

Definition at line 44 of file MessageFile.h.

Referenced by include(), and setInclude().

bool MessageRule::myIsModified
private
QStringList MessageRule::myMatch
private

Definition at line 40 of file MessageFile.h.

Referenced by match(), MessageRule(), and setMatch().

QStringList MessageRule::myMessages
private

Definition at line 43 of file MessageFile.h.

Referenced by MessageRule(), messages(), and setMessages().

QList<QStringList> MessageRule::myPostconditions
private

Definition at line 42 of file MessageFile.h.

Referenced by MessageRule(), postconditions(), and setPostconditions().

QList<QStringList> MessageRule::myPreconditions
private

Definition at line 41 of file MessageFile.h.

Referenced by MessageRule(), preconditions(), and setPreconditions().

QList<QStringList> MessageRule::myReplies
private

Definition at line 45 of file MessageFile.h.

Referenced by MessageRule(), replies(), and setReplies().


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