CriWare Unreal Engine
Plug-ins for CriWare solutions.
読み取り中…
検索中…
一致する文字列を見つけられません
strict_restore 名前空間

関数

 doxygen_slugify (name)
 get_rel_path_id (rel_path)

変数

str adx_dir = r'C:\git\Engine\Documentation\Source\CriWare\Tutorials\ADX'
 clean = regex_id.sub('', line.rstrip())
 content = f.read()
 doxy_id = get_rel_path_id(rpath)
 encoding
list files = []
list files_with_meta = []
str footer
 full_path = os.path.join(adx_dir, rel_path)
str header = '# ADX\n <br>\n'
 index_file = os.path.join(adx_dir, 'ADX.INT.udn')
 key
 lines = f.readlines()
 match = re.search(r'^#\s+(.+)', content, re.MULTILINE)
list new_lines = []
 no_match = re.search(r'No\.(\d+)', title)
int num = int(no_match.group(1)) if no_match else 999
 regex_id = re.compile(r'\s*\{#tutorial_adx_\w+\}\s*$')
 rel_path = os.path.relpath(os.path.join(root, f), adx_dir)
 rpath = item['path'].replace(os.sep, '/')
str title = match.group(1).strip() if match else ''
bool updated = False

関数詳解

◆ doxygen_slugify()

strict_restore.doxygen_slugify ( name)

◆ get_rel_path_id()

strict_restore.get_rel_path_id ( rel_path)

変数詳解

◆ adx_dir

str strict_restore.adx_dir = r'C:\git\Engine\Documentation\Source\CriWare\Tutorials\ADX'

◆ clean

strict_restore.clean = regex_id.sub('', line.rstrip())

◆ content

strict_restore.content = f.read()

◆ doxy_id

strict_restore.doxy_id = get_rel_path_id(rpath)

◆ encoding

strict_restore.encoding

◆ files

list strict_restore.files = []

◆ files_with_meta

list strict_restore.files_with_meta = []

◆ footer

str strict_restore.footer
初期値:
1= '''
2---
3<a href="http://translate.google.com/"><img src="./google-translate-attribution.png"/></a><br>
4<b style="bottom: auto; font-size: x-small;">THIS SERVICE MAY CONTAIN TRANSLATIONS POWERED BY GOOGLE. GOOGLE DISCLAIMS ALL WARRANTIES RELATED TO THE TRANSLATIONS, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF ACCURACY, RELIABILITY, AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</b>
5'''

◆ full_path

strict_restore.full_path = os.path.join(adx_dir, rel_path)

◆ header

str strict_restore.header = '# ADX\n <br>\n'

◆ index_file

strict_restore.index_file = os.path.join(adx_dir, 'ADX.INT.udn')

◆ key

strict_restore.key

◆ lines

strict_restore.lines = f.readlines()

◆ match

strict_restore.match = re.search(r'^#\s+(.+)', content, re.MULTILINE)

◆ new_lines

list strict_restore.new_lines = []

◆ no_match

strict_restore.no_match = re.search(r'No\.(\d+)', title)

◆ num

int strict_restore.num = int(no_match.group(1)) if no_match else 999

◆ regex_id

strict_restore.regex_id = re.compile(r'\s*\{#tutorial_adx_\w+\}\s*$')

◆ rel_path

strict_restore.rel_path = os.path.relpath(os.path.join(root, f), adx_dir)

◆ rpath

strict_restore.rpath = item['path'].replace(os.sep, '/')

◆ title

str strict_restore.title = match.group(1).strip() if match else ''

◆ updated

bool strict_restore.updated = False