Types and strings conversions

tifiles_model_to_string

TIEXPORT2 const char *TICALL tifiles_model_to_string(CalcModel model)

Do an integer to string conversion.

model :
a calculator model.
Return value :
a string like "TI92+".

tifiles_string_to_model

TIEXPORT2 CalcModel TICALL tifiles_string_to_model(const char *str)

Do a string to integer conversion.

str :
a calculator model as string like "TI92".
Return value :
a calculator model.

tifiles_attribute_to_string

TIEXPORT2 const char *TICALL tifiles_attribute_to_string(FileAttr attrb)

Do an integer to string conversion.

attrb :
an attribute of variable.
Return value :
a string like "archived".

tifiles_string_to_attribute

TIEXPORT2 FileAttr TICALL tifiles_string_to_attribute(const char *str)

Do a string to integer conversion.

str :
a variable attribute string like "protected".
Return value :
a variable attribute.

tifiles_class_to_string

TIEXPORT2 const char *TICALL tifiles_class_to_string(FileClass klass)

Do an integer to string conversion.

klass :
a class of file.
Return value :
a string like "backup".

tifiles_string_to_class

TIEXPORT2 FileClass TICALL tifiles_string_to_class(const char *str)

Do a string to integer conversion.

str :
a file class string like "backup".
Return value :
a file class.

Return to the main index