Reference Manual: DSL creation

From DSL

Jump to: navigation, search

This class is, like DSL_header, a mere placeholder for the user's convenience. SMILE doesn't use its contents at all and all of them can be unrestricted strings. The creator field is meant to store the name of the author of the network. The created field is meant to store the date of creation of the network and modified to store the date of last modification. As mentioned before, nothing prevents you from using them to store whatever you want (e.g.: "Smile is cool!").


Methods

  • int SetCreator(char *theCreator)

Sets creator to theCreator. A private local copy is kept.

Error return values: DSL_OUT_OF_MEMORY.


  • int SetCreated(char *thisDate)

Sets created to thisDate. A private local copy is kept.

Error return values: DSL_OUT_OF_MEMORY.


  • int SetModified(char *thisDate)

Sets modified to thisDate. A private local copy is kept.

Error return values: DSL_OUT_OF_MEMORY.

Personal tools