FLANG
Public Types | Public Member Functions | List of all members
Fortran::runtime::io::InternalDescriptorUnit< DIR > Class Template Reference
Inheritance diagram for Fortran::runtime::io::InternalDescriptorUnit< DIR >:
Fortran::runtime::io::ConnectionState Fortran::runtime::io::ConnectionAttributes

Public Types

using Scalar = std::conditional_t< DIR==Direction::Input, const char *, char * >
 

Public Member Functions

RT_API_ATTRS InternalDescriptorUnit (Scalar, std::size_t chars, int kind)
 
RT_API_ATTRS InternalDescriptorUnit (const Descriptor &, const Terminator &)
 
RT_API_ATTRS bool Emit (const char *, std::size_t, IoErrorHandler &)
 
RT_API_ATTRS std::size_t GetNextInputBytes (const char *&, IoErrorHandler &)
 
RT_API_ATTRS std::size_t ViewBytesInRecord (const char *&, bool forward) const
 
RT_API_ATTRS bool AdvanceRecord (IoErrorHandler &)
 
RT_API_ATTRS void BackspaceRecord (IoErrorHandler &)
 
RT_API_ATTRS std::int64_t InquirePos ()
 
- Public Member Functions inherited from Fortran::runtime::io::ConnectionState
RT_API_ATTRS bool IsAtEOF () const
 
RT_API_ATTRS bool IsAfterEndfile () const
 
RT_API_ATTRS std::size_t RemainingSpaceInRecord () const
 
RT_API_ATTRS bool NeedAdvance (std::size_t) const
 
RT_API_ATTRS void HandleAbsolutePosition (std::int64_t)
 
RT_API_ATTRS void HandleRelativePosition (std::int64_t)
 
RT_API_ATTRS void BeginRecord ()
 
RT_API_ATTRS Fortran::common::optional< std::int64_t > EffectiveRecordLength () const
 
- Public Member Functions inherited from Fortran::runtime::io::ConnectionAttributes
RT_API_ATTRS bool IsRecordFile () const
 
template<typename CHAR = char>
constexpr RT_API_ATTRS bool useUTF8 () const
 

Additional Inherited Members

- Public Attributes inherited from Fortran::runtime::io::ConnectionState
Fortran::common::optional< std::int64_t > recordLength
 
std::int64_t currentRecordNumber {1}
 
std::int64_t positionInRecord {0}
 
std::int64_t furthestPositionInRecord {0}
 
Fortran::common::optional< std::int64_t > leftTabLimit
 
Fortran::common::optional< std::int64_t > endfileRecordNumber
 
MutableModes modes
 
bool pinnedFrame {false}
 
bool unterminatedRecord {false}
 
- Public Attributes inherited from Fortran::runtime::io::ConnectionAttributes
Access access {Access::Sequential}
 
Fortran::common::optional< bool > isUnformatted
 
bool isUTF8 {false}
 
unsigned char internalIoCharKind {0}
 
Fortran::common::optional< std::int64_t > openRecl
 

The documentation for this class was generated from the following files: