src/TAO/API/conditions.cpp
bool HasExpires(const TAO::Operation::Contract& contract)
        {
            /* Create a contract with a dummy expiration condition that we can use for comparison */
            TAO::Operation::Contract expiration;
            AddExpires( json::json(), 0, expiration, false);

            /* Check to see if the contract contains the expiration condition */
            return HasCondition(contract, expiration);

        }
/* Determines if a contract has an expiration condition.  The method searches the bytes of the conditions stream to see if
        *  if the pattern for an expiration condition exists somewhere in the conditions */
Determines if a contract has an expiration condition.  The method searches the bytes of the conditions stream to see if
if the pattern for an expiration condition exists somewhere in the conditions
Determines if a contract has an expiration condition . The method searches the bytes of the conditions stream to see if if the pattern for an expiration condition exists somewhere in the conditions
bool HasExpires(const TAO::Operation::Contract& contract)
        {
            TAO::Operation::Contract expiration;
            AddExpires( json::json(), 0, expiration, false);
            return HasCondition(contract, expiration);
        }
bool HasExpires ( const TAO :: Operation :: Contract & contract ) { TAO :: Operation :: Contract expiration ; AddExpires ( json :: json ( ) , 0 , expiration , false ) ; return HasCondition ( contract , expiration ) ; }
Determines if a contract has an expiration condition.
Determines if a contract has an expiration condition .
/* Create a contract with a dummy expiration condition that we can use for comparison */ /* Check to see if the contract contains the expiration condition */