Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Code::Script Class Reference

#include <script.h>

Inheritance diagram for Code::Script:
Ion::Storage::Record

Public Member Functions

 Script (Ion::Storage::Record r)
 
bool importationStatus () const
 
void toggleImportationStatus ()
 
const char * readContent () const
 
ErrorStatus writeContent (const char *data, size_t size)
 
- Public Member Functions inherited from Ion::Storage::Record
 Record (const char *name=nullptr)
 
bool operator== (const Record &other) const
 
bool isNull () const
 
const char * name () const
 
ErrorStatus setName (const char *name)
 
Data value () const
 
ErrorStatus setValue (Data data)
 
void destroy ()
 

Static Public Attributes

static constexpr size_t k_importationStatusSize = 1
 

Additional Inherited Members

- Public Types inherited from Ion::Storage::Record
enum  ErrorStatus {
  ErrorStatus::None = 0, ErrorStatus::NameTaken = 1, ErrorStatus::NonCompliantName = 2, ErrorStatus::NotEnoughSpaceAvailable = 3,
  ErrorStatus::RecordDoesNotExist = 4
}
 

Detailed Description

Definition at line 11 of file script.h.

Constructor & Destructor Documentation

◆ Script()

Code::Script::Script ( Ion::Storage::Record  r)

Definition at line 5 of file script.cpp.

Member Function Documentation

◆ importationStatus()

bool Code::Script::importationStatus ( ) const

Definition at line 10 of file script.cpp.

◆ readContent()

const char * Code::Script::readContent ( ) const

Definition at line 22 of file script.cpp.

◆ toggleImportationStatus()

void Code::Script::toggleImportationStatus ( )

Definition at line 16 of file script.cpp.

◆ writeContent()

Ion::Storage::Record::ErrorStatus Code::Script::writeContent ( const char *  data,
size_t  size 
)

Definition at line 28 of file script.cpp.

Member Data Documentation

◆ k_importationStatusSize

constexpr size_t Code::Script::k_importationStatusSize = 1
static

Definition at line 21 of file script.h.


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