1
Persistence in object oriented programming/C++ extension for supporting persistent objects | |
Author | Pranee Rattanachaidusadee |
Call Number | AIT Thesis no. CS-96-23 |
Subject(s) | Object-oriented programming (Computer science) |
Note | A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science. |
Publisher | Asian Institute of Technology |
Series Statement | Thesis ; no. CS-96-23 |
Abstract | Although the Object-Oriented Programming Language C+ + is more popular and widely used, it does not provide persistence and other manipulation facilities to objects. This research is aimed to add persistence to C + + without modifying its compiler to support persistent objects for small applications. A new utility called a Persistent Class Library was designed and implemented by using the C + + facilities mechanism for accessing and manipulating persistent objects which are encapsulated and stored in a binary file of the same type until they are explicitly deleted. The persistence is achieved by inheritance from the persistent base class through the class hierarchy of the application program. An object of these classes may exist whether volatile or persistent. It is based on the fact that each persistent class has a special constructor which contains a code to properly read persistent objects from the disk to the main memory. Each persistent object has a unique identifier, called the "object identity" . By invoking functions for access and manipulation persistent objects can perform explicitly on users demand. The Persistent Class Library can properly perform several properties of OOP such as encapsulation, inheritance and polymorphism. |
Year | 1996 |
Corresponding Series Added Entry | Asian Institute of Technology. Thesis ; no. CS-96-23 |
Type | Thesis |
School | School of Engineering and Technology (SET) |
Department | Department of Information and Communications Technologies (DICT) |
Academic Program/FoS | Computer Science (CS) |
Chairperson(s) | Batanov, Dentcho N. |
Examination Committee(s) | Yulu, Qi;Phan Minh Dung |
Scholarship Donor(s) | Bank of Thailand |
Degree | Thesis (M.Sc.) - Asian Institute of Technology, 1996 |