23 #ifndef __ccxx_FilePtr_hxx 24 #define __ccxx_FilePtr_hxx 49 FilePtr(
const char* name,
const char* mode);
71 inline operator FILE*()
76 {
return(_fp != NULL); }
80 {
return(! isValid()); }
91 #endif // __ccxx_FilePtr_hxx
A smart pointer for stdio streams.
Definition: FilePtr.h++:38
bool operator!()
Determine if the stream is invalid (NULL).
Definition: FilePtr.h++:79
#define COMMONCPP_API
Definition: Common.h++:126
bool isValid() const
Determine if the stream is valid (non-NULL).
Definition: FilePtr.h++:75
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
#define CCXX_COPY_DECLS(CLASS)
Inlines declarations of a copy constructor and assignment operator for the class CLASS.
Definition: Common.h++:295
Definition: AllocationMap.c++:25