Rice  1.5.2
 All Classes Files Functions Variables Typedefs Friends Pages
Public Member Functions | List of all members
Rice::Identifier Class Reference

A wrapper for the ID type. More...

#include <Identifier.hpp>

Public Member Functions

 Identifier (ID id)
 Construct a new Identifier from an ID.
 
 Identifier (Symbol const &symbol)
 Construct a new Identifier from a Symbol.
 
 Identifier (char const *s="")
 Construct a new Identifier from a string.
 
char const * c_str () const
 Return a string representation of the Identifier.
 
std::string str () const
 Return a string representation of the Identifier.
 
ID id () const
 Return the underlying ID.
 
 operator ID () const
 Return the underlying ID.
 
VALUE to_sym () const
 Return the ID as a Symbol.
 

Detailed Description

A wrapper for the ID type.

An ID is ruby's internal representation of a Symbol object.


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