Backend/Database/Serializable.cpp
/*!
 * @brief add delimiter
 * @details adds the delimiter to the end of the item.
 *
 * the delimiter depends on whether or not this is the final item in the bundle.
 * if it is, the delimiter is `\|`. If not, the delimiter is `|`.
 * @param item a pointer to the item to serialize (pass by reference)
 * @param size the size of the item (pass by reference)
 * @param isLastItem whether or not this is the last item in the bundle.
 * @return whether or not the operation succeeded
 */
@brief add delimiter
@details adds the delimiter to the end of the item.

the delimiter depends on whether or not this is the final item in the bundle.
if it is, the delimiter is `\|`. If not, the delimiter is `|`.
@param item a pointer to the item to serialize (pass by reference)
@param size the size of the item (pass by reference)
@param isLastItem whether or not this is the last item in the bundle.
@return whether or not the operation succeeded
@brief add delimiter @details adds the delimiter to the end of the item . the delimiter depends on whether or not this is the final item in the bundle . if it is the delimiter is ` \ | ` . If not the delimiter is ` | ` . @param item a pointer to the item to serialize ( pass by reference ) @param size the size of the item ( pass by reference ) @param isLastItem whether or not this is the last item in the bundle . @return whether or not the operation succeeded
GString Serializable::addDelimiter(const GString& serial, bool isLastItem)
{
	if(isLastItem)
		return (serial + "\\|");
	else
		return (serial + "|");
}
GString Serializable :: addDelimiter ( const GString & serial , bool isLastItem ) { if ( isLastItem ) return ( serial + " \\ " ) ; else return ( serial + " " ) ; }
@brief add delimiter
 @details adds the delimiter to the end of the item.
@brief add delimiter @details adds the delimiter to the end of the item .