Revision d797d04a include/PoolObjectSQL.h

View differences:

include/PoolObjectSQL.h
110 110
             other_u(0),
111 111
             other_m(0),
112 112
             other_a(0),
113
             obj_template(0), 
113
             obj_template(0),
114 114
             table(_table)
115 115
    {
116 116
        pthread_mutex_init(&mutex,0);
......
164 164
    {
165 165
        return gname;
166 166
    };
167
    
167

  
168 168
    /**
169 169
     * Changes the object's owner
170 170
     * @param _uid New User ID
......
350 350
    }
351 351

  
352 352
    /**
353
     *  Gets a boolean attribute (single) (YES = true)
354
     *    @param name of the attribute
355
     *    @param value of the attribute (True if "YES", false otherwise)
356
     *
357
     *    @return True if the Single attribute was found and is a valid boolean
358
     *    value
359
     */
360
    bool get_template_attribute(
361
        const char *    name,
362
        bool&           value) const
363
    {
364
        return obj_template->get(name,value);
365
    }
366

  
367
    /**
353 368
     *  Adds a new attribute to the template (replacing it if
354 369
     *  already defined), the object's mutex SHOULD be locked
355 370
     *    @param name of the new attribute

Also available in: Unified diff