RenameList Class Reference

#include <datadescriptiondefinition_include.h>

公共成员函数

  RenameList (const RenameList *parent=nullptr)
Result < void >  添加 (const CString &from, const CString &to)
Result < InternedId Rename (const InternedId &original) const

Private Types

using  Pattern = Tuple < CString , CString , Bool >

Static Private Member Functions

static Pattern   ToPattern (const CString &str)

Private Attributes

BaseArray < Tuple < Pattern , Pattern > >  _list
const RenameList *const  _parent

Member Typedef Documentation

◆  Pattern

using Pattern = Tuple < CString , CString , Bool >
private

构造函数 & 析构函数文档编制

◆  RenameList()

RenameList ( const RenameList parent = nullptr )

成员函数文档编制

◆  Add()

Result <void> Add ( const CString from ,
const CString to  
)

◆  Rename()

Result < InternedId > Rename ( const InternedId original ) const

◆  ToPattern()

static Pattern ToPattern ( const CString str )
static private

Member Data Documentation

◆  _list

BaseArray < Tuple < Pattern , Pattern > > _list
private

◆  _parent

const RenameList * const _parent
private