class
OverlayFileComp
: public
OverlaysComp
(Return to index)
component used to import a sub-tree by pathname.
Type:
Instantiable
Base Classes:
public
OverlaysComp
Derived Classes
Include file:
OverlayUnidraw/ovfile.h
Public:
virtual void
AdjustBaseDir
(const char* oldpath, const char* newpath)
adjust base directory used for generating pathnames for this component, done when a document is saved to a new location.
virtual void
Append
(
GraphicComp
*)
regular append then copy pointer to attribute list up to
OverlayFileComp
.
virtual
Component
*
Copy
()
virtual ClassId
GetClassId
()
OverlayIdrawComp
*
GetIdrawComp
()
return point to underlying top-level component.
const char*
GetPathName
()
concrete implementation of this method.
boolean
GetPopenFlag
()
get flag that indicates whether to read from command pipe.
virtual void
Interpret
(
Command
*)
disallow ungroup command, otherwise pass to base class.
virtual boolean
IsA
(ClassId)
OverlayFileComp
(
Graphic
*,
OverlayComp
* parent = nil)
construct for arbitrary graphic -- pathname set later.
OverlayFileComp
(
OverlayComp
* parent = nil)
empty constructor.
OverlayFileComp
(istream&,
OverlayComp
* parent = nil)
construct from pathname read from istream.
void
SetPathName
(const char*)
concrete implementation of this method.
void
SetPopenFlag
(boolean flg)
set flag that indicates whether to read from command pipe.
virtual void
Uninterpret
(
Command
*)
disallow undoing ungroup command, otherwise pass to base class.
virtual boolean
operator ==
(
OverlayComp
&)
virtual
~OverlayFileComp
()
Protected:
CLASS_SYMID
("
OverlayFileComp
")
ParamList
*
GetParamList
()
void
GrowParamList
(
ParamList
*)
static
ParamList
*
_overlay_file_params
char *
_pathname
boolean
_popenflg
(more documentation)