Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Bazaar » Very Simple Report Generator (Use QTF format)
Re: Very Simple Report Generator (Use QTF format) [message #24063 is a reply to message #24059] Wed, 23 December 2009 20:22 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 559
Registered: November 2008
Location: France
Contributor
Hello again Sergey,

Looks pretty good for a start, and I think it can easily be generalized to a more complexe loop mecanismes:

All we need is a depth counter that keeps track of:

  • depth
  • context zone ( dependant of depth )

==> example: [depth, [0, 0, ... ]]


##BP                [0,[0]]
  ##VAR1            .
  ##VAR2            .
  
  ##BP                [1,[0,0]]
    ##VAR31           .
    ##VAR32           .
  ##EP              .

  ##BP                [1,[0,1]]
    ##VAR41           .
    ##VAR42           .
  ##EP              .
  
  ##BP                [1,[0,2]]
    ##VAR51           .
    ##VAR52           .
  ##EP              .
  
  ##VAR5            .
##EP              .

##BP                [0,[1]]
  ##VAR6            .
  
  ##BP                [1,[1,0]]
    ##VAR31           .
    ##VAR32           .
  ##EP              .
##EP              .



The following callbacks could then be called with the depth/contex info as parameters
- RepGenCalculateStart
- RepGenCalculateBody
- RepGenCalculateFinish

The only other part would need modification is the "body string grabber" which needs to take in account the loop/context imbrication.


I think I'm gonna give it a shot Rolling Eyes

If you don't have a better Idea of course Wink
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BarCode128: string to image (Candidate for upload to Bazaar)
Next Topic: Simple INI parser (15 mb in 4 s, DualCore 2500 Mhz)
Goto Forum:
  


Current Time: Thu Jul 09 14:03:33 CEST 2020

Total time taken to generate the page: 0.02141 seconds