Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63362879
class_dumper.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, May 19, 14:18
Size
448 B
Mime Type
text/x-python
Expires
Tue, May 21, 14:18 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17764128
Attached To
R1692 code_skeleton
class_dumper.py
View Options
from
class_reader
import
ClassReader
class
ClassDumper
:
def
__init__
(
self
):
pass
def
dump
(
self
,
class_file
):
cls_reader
=
ClassReader
()
classes
=
cls_reader
.
read
(
class_file
)
sstr
=
""
for
c
in
classes
:
sstr
+=
self
.
dumpFile
(
c
)
return
sstr
raise
Exception
(
'pure virtual function'
)
def
dumpFile
(
self
,
c
):
raise
Exception
(
'pure virtual function'
)
Event Timeline
Log In to Comment