TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bgs::protocol::profanity::v1::WordFilter Class Reference

#include <profanity_filter_config.pb.h>

Public Member Functions

 WordFilter ()
 
virtual ~WordFilter ()
 
 WordFilter (const WordFilter &from)
 
WordFilteroperator= (const WordFilter &from)
 
const
::google::protobuf::UnknownFieldSet
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (WordFilter *other)
 
WordFilterNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const WordFilter &from)
 
void MergeFrom (const WordFilter &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_type () const
 
void clear_type ()
 
const ::std::string & type () const
 
void set_type (const ::std::string &value)
 
void set_type (const char *value)
 
void set_type (const char *value, size_t size)
 
inline::std::string * mutable_type ()
 
inline::std::string * release_type ()
 
void set_allocated_type (::std::string *type)
 
bool has_regex () const
 
void clear_regex ()
 
const ::std::string & regex () const
 
void set_regex (const ::std::string &value)
 
void set_regex (const char *value)
 
void set_regex (const char *value, size_t size)
 
inline::std::string * mutable_regex ()
 
inline::std::string * release_regex ()
 
void set_allocated_regex (::std::string *regex)
 
- Public Member Functions inherited from google::protobuf::Message
 Message ()
 
virtual ~Message ()
 
virtual void CopyFrom (const Message &from)
 
virtual void MergeFrom (const Message &from)
 
void CheckInitialized () const
 
void FindInitializationErrors (vector< string > *errors) const
 
string InitializationErrorString () const
 
virtual void DiscardUnknownFields ()
 
virtual int SpaceUsed () const
 
string DebugString () const
 
string ShortDebugString () const
 
string Utf8DebugString () const
 
void PrintDebugString () const
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (istream *input)
 
bool ParsePartialFromIstream (istream *input)
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (ostream *output) const
 
bool SerializePartialToOstream (ostream *output) const
 
virtual string GetTypeName () const
 
virtual void CheckTypeAndMergeFrom (const MessageLite &other)
 
virtual bool MergePartialFromCodedStream (io::CodedInputStream *input)
 
virtual void SerializeWithCachedSizes (io::CodedOutputStream *output) const
 
const DescriptorGetDescriptor () const
 
virtual const ReflectionGetReflection () const
 
- Public Member Functions inherited from google::protobuf::MessageLite
 MessageLite ()
 
virtual ~MessageLite ()
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromString (const string &data)
 
bool ParsePartialFromString (const string &data)
 
bool ParseFromArray (const void *data, int size)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
bool SerializeToCodedStream (io::CodedOutputStream *output) const
 
bool SerializePartialToCodedStream (io::CodedOutputStream *output) const
 
bool SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializeToString (string *output) const
 
bool SerializePartialToString (string *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializePartialToArray (void *data, int size) const
 
string SerializeAsString () const
 
string SerializePartialAsString () const
 
bool AppendToString (string *output) const
 
bool AppendPartialToString (string *output) const
 
virtual uint8SerializeWithCachedSizesToArray (uint8 *target) const
 

Static Public Member Functions

static const
::google::protobuf::Descriptor
descriptor ()
 
static const WordFilterdefault_instance ()
 

Static Public Attributes

static const int kTypeFieldNumber = 1
 
static const int kRegexFieldNumber = 2
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const
 
void set_has_type ()
 
void clear_has_type ()
 
void set_has_regex ()
 
void clear_has_regex ()
 
void InitAsDefaultInstance ()
 

Private Attributes

::google::protobuf::UnknownFieldSet _unknown_fields_
 
::google::protobuf::uint32 _has_bits_ [1]
 
int _cached_size_
 
::std::string * type_
 
::std::string * regex_
 

Static Private Attributes

static WordFilterdefault_instance_
 

Friends

void TC_SHARED_API protobuf_AddDesc_profanity_5ffilter_5fconfig_2eproto ()
 
void protobuf_AssignDesc_profanity_5ffilter_5fconfig_2eproto ()
 
void protobuf_ShutdownFile_profanity_5ffilter_5fconfig_2eproto ()
 

Additional Inherited Members

- Public Types inherited from google::protobuf::Message
typedef
google::protobuf::Reflection 
Reflection
 

Constructor & Destructor Documentation

bgs::protocol::profanity::v1::WordFilter::WordFilter ( )
virtual bgs::protocol::profanity::v1::WordFilter::~WordFilter ( )
virtual
bgs::protocol::profanity::v1::WordFilter::WordFilter ( const WordFilter from)

Member Function Documentation

int bgs::protocol::profanity::v1::WordFilter::ByteSize ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::profanity::v1::WordFilter::Clear ( )
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::profanity::v1::WordFilter::clear_has_regex ( )
inlineprivate
317  {
318  _has_bits_[0] &= ~0x00000002u;
319 }
::google::protobuf::uint32 _has_bits_[1]
Definition: profanity_filter_config.pb.h:131

+ Here is the caller graph for this function:

void bgs::protocol::profanity::v1::WordFilter::clear_has_type ( )
inlineprivate
241  {
242  _has_bits_[0] &= ~0x00000001u;
243 }
::google::protobuf::uint32 _has_bits_[1]
Definition: profanity_filter_config.pb.h:131

+ Here is the caller graph for this function:

void bgs::protocol::profanity::v1::WordFilter::clear_regex ( )
inline
320  {
322  regex_->clear();
323  }
324  clear_has_regex();
325 }
::std::string * regex_
Definition: profanity_filter_config.pb.h:134
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_regex()
Definition: profanity_filter_config.pb.h:317

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::clear_type ( )
inline
244  {
246  type_->clear();
247  }
248  clear_has_type();
249 }
::std::string * type_
Definition: profanity_filter_config.pb.h:133
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_type()
Definition: profanity_filter_config.pb.h:241

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::CopyFrom ( const ::google::protobuf::Message from)
void bgs::protocol::profanity::v1::WordFilter::CopyFrom ( const WordFilter from)
static const WordFilter& bgs::protocol::profanity::v1::WordFilter::default_instance ( )
static
static const ::google::protobuf::Descriptor* bgs::protocol::profanity::v1::WordFilter::descriptor ( )
static
int bgs::protocol::profanity::v1::WordFilter::GetCachedSize ( ) const
inlinevirtual

Implements google::protobuf::MessageLite.

86 { return _cached_size_; }
int _cached_size_
Definition: profanity_filter_config.pb.h:132
::google::protobuf::Metadata bgs::protocol::profanity::v1::WordFilter::GetMetadata ( ) const
virtual
bool bgs::protocol::profanity::v1::WordFilter::has_regex ( ) const
inline
311  {
312  return (_has_bits_[0] & 0x00000002u) != 0;
313 }
::google::protobuf::uint32 _has_bits_[1]
Definition: profanity_filter_config.pb.h:131
bool bgs::protocol::profanity::v1::WordFilter::has_type ( ) const
inline
235  {
236  return (_has_bits_[0] & 0x00000001u) != 0;
237 }
::google::protobuf::uint32 _has_bits_[1]
Definition: profanity_filter_config.pb.h:131
void bgs::protocol::profanity::v1::WordFilter::InitAsDefaultInstance ( )
private
bool bgs::protocol::profanity::v1::WordFilter::IsInitialized ( ) const
virtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::profanity::v1::WordFilter::MergeFrom ( const ::google::protobuf::Message from)
void bgs::protocol::profanity::v1::WordFilter::MergeFrom ( const WordFilter from)
bool bgs::protocol::profanity::v1::WordFilter::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream input)
std::string * bgs::protocol::profanity::v1::WordFilter::mutable_regex ( )
inline
354  {
355  set_has_regex();
357  regex_ = new ::std::string;
358  }
359  // @@protoc_insertion_point(field_mutable:bgs.protocol.profanity.v1.WordFilter.regex)
360  return regex_;
361 }
void set_has_regex()
Definition: profanity_filter_config.pb.h:314
::std::string * regex_
Definition: profanity_filter_config.pb.h:134
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79

+ Here is the call graph for this function:

std::string * bgs::protocol::profanity::v1::WordFilter::mutable_type ( )
inline
278  {
279  set_has_type();
281  type_ = new ::std::string;
282  }
283  // @@protoc_insertion_point(field_mutable:bgs.protocol.profanity.v1.WordFilter.type)
284  return type_;
285 }
::std::string * type_
Definition: profanity_filter_config.pb.h:133
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_type()
Definition: profanity_filter_config.pb.h:238

+ Here is the call graph for this function:

inline ::google::protobuf::UnknownFieldSet* bgs::protocol::profanity::v1::WordFilter::mutable_unknown_fields ( )
inline
61  {
62  return &_unknown_fields_;
63  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: profanity_filter_config.pb.h:129
WordFilter* bgs::protocol::profanity::v1::WordFilter::New ( ) const
virtual
WordFilter& bgs::protocol::profanity::v1::WordFilter::operator= ( const WordFilter from)
inline
52  {
53  CopyFrom(from);
54  return *this;
55  }
void CopyFrom(const ::google::protobuf::Message &from)
const ::std::string & bgs::protocol::profanity::v1::WordFilter::regex ( ) const
inline
326  {
327  // @@protoc_insertion_point(field_get:bgs.protocol.profanity.v1.WordFilter.regex)
328  return *regex_;
329 }
::std::string * regex_
Definition: profanity_filter_config.pb.h:134

+ Here is the caller graph for this function:

std::string * bgs::protocol::profanity::v1::WordFilter::release_regex ( )
inline
362  {
363  clear_has_regex();
365  return NULL;
366  } else {
367  ::std::string* temp = regex_;
368  regex_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
369  return temp;
370  }
371 }
::std::string * regex_
Definition: profanity_filter_config.pb.h:134
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_regex()
Definition: profanity_filter_config.pb.h:317

+ Here is the call graph for this function:

std::string * bgs::protocol::profanity::v1::WordFilter::release_type ( )
inline
286  {
287  clear_has_type();
289  return NULL;
290  } else {
291  ::std::string* temp = type_;
292  type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
293  return temp;
294  }
295 }
::std::string * type_
Definition: profanity_filter_config.pb.h:133
arena_t NULL
Definition: jemalloc_internal.h:624
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_type()
Definition: profanity_filter_config.pb.h:241

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream output) const
::google::protobuf::uint8* bgs::protocol::profanity::v1::WordFilter::SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 output) const
void bgs::protocol::profanity::v1::WordFilter::set_allocated_regex ( ::std::string *  regex)
inline
372  {
374  delete regex_;
375  }
376  if (regex) {
377  set_has_regex();
378  regex_ = regex;
379  } else {
380  clear_has_regex();
381  regex_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
382  }
383  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.profanity.v1.WordFilter.regex)
384 }
void set_has_regex()
Definition: profanity_filter_config.pb.h:314
::std::string * regex_
Definition: profanity_filter_config.pb.h:134
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const ::std::string & regex() const
Definition: profanity_filter_config.pb.h:326
void clear_has_regex()
Definition: profanity_filter_config.pb.h:317

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::set_allocated_type ( ::std::string *  type)
inline
296  {
298  delete type_;
299  }
300  if (type) {
301  set_has_type();
302  type_ = type;
303  } else {
304  clear_has_type();
305  type_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
306  }
307  // @@protoc_insertion_point(field_set_allocated:bgs.protocol.profanity.v1.WordFilter.type)
308 }
::std::string * type_
Definition: profanity_filter_config.pb.h:133
const ::std::string & type() const
Definition: profanity_filter_config.pb.h:250
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void clear_has_type()
Definition: profanity_filter_config.pb.h:241
void set_has_type()
Definition: profanity_filter_config.pb.h:238

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::set_has_regex ( )
inlineprivate
314  {
315  _has_bits_[0] |= 0x00000002u;
316 }
::google::protobuf::uint32 _has_bits_[1]
Definition: profanity_filter_config.pb.h:131

+ Here is the caller graph for this function:

void bgs::protocol::profanity::v1::WordFilter::set_has_type ( )
inlineprivate
238  {
239  _has_bits_[0] |= 0x00000001u;
240 }
::google::protobuf::uint32 _has_bits_[1]
Definition: profanity_filter_config.pb.h:131

+ Here is the caller graph for this function:

void bgs::protocol::profanity::v1::WordFilter::set_regex ( const ::std::string &  value)
inline
330  {
331  set_has_regex();
333  regex_ = new ::std::string;
334  }
335  regex_->assign(value);
336  // @@protoc_insertion_point(field_set:bgs.protocol.profanity.v1.WordFilter.regex)
337 }
void set_has_regex()
Definition: profanity_filter_config.pb.h:314
::std::string * regex_
Definition: profanity_filter_config.pb.h:134
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::set_regex ( const char *  value)
inline
338  {
339  set_has_regex();
341  regex_ = new ::std::string;
342  }
343  regex_->assign(value);
344  // @@protoc_insertion_point(field_set_char:bgs.protocol.profanity.v1.WordFilter.regex)
345 }
void set_has_regex()
Definition: profanity_filter_config.pb.h:314
::std::string * regex_
Definition: profanity_filter_config.pb.h:134
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::set_regex ( const char *  value,
size_t  size 
)
inline
346  {
347  set_has_regex();
349  regex_ = new ::std::string;
350  }
351  regex_->assign(reinterpret_cast<const char*>(value), size);
352  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.profanity.v1.WordFilter.regex)
353 }
void set_has_regex()
Definition: profanity_filter_config.pb.h:314
::std::string * regex_
Definition: profanity_filter_config.pb.h:134
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::set_type ( const ::std::string &  value)
inline
254  {
255  set_has_type();
257  type_ = new ::std::string;
258  }
259  type_->assign(value);
260  // @@protoc_insertion_point(field_set:bgs.protocol.profanity.v1.WordFilter.type)
261 }
::std::string * type_
Definition: profanity_filter_config.pb.h:133
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_type()
Definition: profanity_filter_config.pb.h:238
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::set_type ( const char *  value)
inline
262  {
263  set_has_type();
265  type_ = new ::std::string;
266  }
267  type_->assign(value);
268  // @@protoc_insertion_point(field_set_char:bgs.protocol.profanity.v1.WordFilter.type)
269 }
::std::string * type_
Definition: profanity_filter_config.pb.h:133
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_type()
Definition: profanity_filter_config.pb.h:238
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::set_type ( const char *  value,
size_t  size 
)
inline
270  {
271  set_has_type();
273  type_ = new ::std::string;
274  }
275  type_->assign(reinterpret_cast<const char*>(value), size);
276  // @@protoc_insertion_point(field_set_pointer:bgs.protocol.profanity.v1.WordFilter.type)
277 }
::std::string * type_
Definition: profanity_filter_config.pb.h:133
LIBPROTOBUF_EXPORTconst::std::string & GetEmptyStringAlreadyInited()
Definition: generated_message_util.h:79
void set_has_type()
Definition: profanity_filter_config.pb.h:238
const FieldDescriptor value
Definition: descriptor.h:1522

+ Here is the call graph for this function:

void bgs::protocol::profanity::v1::WordFilter::SetCachedSize ( int  size) const
privatevirtual

Reimplemented from google::protobuf::Message.

void bgs::protocol::profanity::v1::WordFilter::SharedCtor ( )
private
void bgs::protocol::profanity::v1::WordFilter::SharedDtor ( )
private
void bgs::protocol::profanity::v1::WordFilter::Swap ( WordFilter other)
const ::std::string & bgs::protocol::profanity::v1::WordFilter::type ( ) const
inline
250  {
251  // @@protoc_insertion_point(field_get:bgs.protocol.profanity.v1.WordFilter.type)
252  return *type_;
253 }
::std::string * type_
Definition: profanity_filter_config.pb.h:133

+ Here is the caller graph for this function:

const ::google::protobuf::UnknownFieldSet& bgs::protocol::profanity::v1::WordFilter::unknown_fields ( ) const
inline
57  {
58  return _unknown_fields_;
59  }
::google::protobuf::UnknownFieldSet _unknown_fields_
Definition: profanity_filter_config.pb.h:129

Friends And Related Function Documentation

void TC_SHARED_API protobuf_AddDesc_profanity_5ffilter_5fconfig_2eproto ( )
friend
void protobuf_AssignDesc_profanity_5ffilter_5fconfig_2eproto ( )
friend
void protobuf_ShutdownFile_profanity_5ffilter_5fconfig_2eproto ( )
friend

Member Data Documentation

int bgs::protocol::profanity::v1::WordFilter::_cached_size_
mutableprivate
::google::protobuf::uint32 bgs::protocol::profanity::v1::WordFilter::_has_bits_[1]
private
::google::protobuf::UnknownFieldSet bgs::protocol::profanity::v1::WordFilter::_unknown_fields_
private
WordFilter* bgs::protocol::profanity::v1::WordFilter::default_instance_
staticprivate
const int bgs::protocol::profanity::v1::WordFilter::kRegexFieldNumber = 2
static
const int bgs::protocol::profanity::v1::WordFilter::kTypeFieldNumber = 1
static
::std::string* bgs::protocol::profanity::v1::WordFilter::regex_
private
::std::string* bgs::protocol::profanity::v1::WordFilter::type_
private

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