| 
    ROSE 0.11.145.357
    
   | 
 
A no-op character encoding form.
Encodes code points to code values and vice versa such that code points are equal to code values.
#include <Rose/BinaryAnalysis/String.h>


Public Types | |
| typedef Sawyer::SharedPointer< NoopCharacterEncodingForm > | Ptr | 
| Shared-ownership pointer to a NoopCharacterEncodingForm.   | |
  Public Types inherited from Rose::BinaryAnalysis::Strings::CharacterEncodingForm | |
| typedef Sawyer::SharedPointer< CharacterEncodingForm > | Ptr | 
| Shared ownership pointer to a CharacterEncodingForm.   | |
Public Member Functions | |
| virtual CharacterEncodingForm::Ptr | clone () const override | 
| Create a new encoder from this one.   | |
| virtual std::string | name () const override | 
| Name of encoder.   | |
| virtual CodeValues | encode (CodePoint cp) override | 
| Encode a code point into a sequence of one or more code values.   | |
| virtual State | decode (CodeValue) override | 
| Decode one code value.   | |
| virtual CodePoint | consume () override | 
| Consume a decoded code point.   | |
| virtual void | reset () override | 
| Reset the decoder state machine.   | |
  Public Member Functions inherited from Rose::BinaryAnalysis::Strings::CharacterEncodingForm | |
| State | state () const | 
| Decoder state.   | |
  Public Member Functions inherited from Sawyer::SharedObject | |
| SharedObject () | |
| Default constructor.   | |
| SharedObject (const SharedObject &) | |
| Copy constructor.   | |
| virtual | ~SharedObject () | 
| Virtual destructor.   | |
| SharedObject & | operator= (const SharedObject &) | 
| Assignment.   | |
Static Public Member Functions | |
| static Ptr | instance () | 
Additional Inherited Members | |
  Protected Attributes inherited from Rose::BinaryAnalysis::Strings::CharacterEncodingForm | |
| State | state_ = INITIAL_STATE | 
| typedef Sawyer::SharedPointer<NoopCharacterEncodingForm> Rose::BinaryAnalysis::Strings::NoopCharacterEncodingForm::Ptr | 
Shared-ownership pointer to a NoopCharacterEncodingForm.
See Shared ownership.
      
  | 
  inlineprotected | 
      
  | 
  inlinestatic | 
      
  | 
  inlineoverridevirtual | 
Create a new encoder from this one.
Implements Rose::BinaryAnalysis::Strings::CharacterEncodingForm.
      
  | 
  inlineoverridevirtual | 
Name of encoder.
Implements Rose::BinaryAnalysis::Strings::CharacterEncodingForm.
      
  | 
  overridevirtual | 
Encode a code point into a sequence of one or more code values.
For instance, an ecoder for UTF-16 will encode a code point into one or more values in the range 0 through (2^16)-1.
Implements Rose::BinaryAnalysis::Strings::CharacterEncodingForm.
      
  | 
  overridevirtual | 
Decode one code value.
Processes a single code value and updates the decoder state machine. Returns the decoder's new state. See documentation for Strings::State for restrictions on state transitions.
Implements Rose::BinaryAnalysis::Strings::CharacterEncodingForm.
      
  | 
  overridevirtual | 
Consume a decoded code point.
The decoder must be in the FINAL_STATE or COMPLETED_STATE, and upon return will be in the INITIAL_STATE.
Implements Rose::BinaryAnalysis::Strings::CharacterEncodingForm.
      
  | 
  overridevirtual | 
Reset the decoder state machine.
Implements Rose::BinaryAnalysis::Strings::CharacterEncodingForm.