Changeset 205 for trunk/src/core


Ignore:
Timestamp:
Feb 22, 2006 9:33:10 AM (18 years ago)
Author:
dkearney
Message:

added isvalid function, but it doesnt work yet.
tested copying from one library to another
changed package name to RapptureLibrary?
adjusted related make and configure files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/RpLibrary.cc

    r200 r205  
    990990}
    991991
     992/**********************************************************************/
     993// METHOD: isvalid()
     994/// Returns true if the library is a valid Rappture Object with a document root
     995/**
     996 */
     997
     998int
     999RpLibrary::isvalid ()
     1000{
     1001    if (!this->root) {
     1002        // library doesn't exist, return false;
     1003        return 0;
     1004    }
     1005
     1006    return 1;
     1007}
     1008
    9921009/*
    9931010 * ----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.